summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/command.h2
-rw-r--r--include/driver.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/include/command.h b/include/command.h
index 9a90e0b06b..b2e84496c8 100644
--- a/include/command.h
+++ b/include/command.h
@@ -47,7 +47,7 @@ struct command {
const char *name; /* Command Name */
const char **aliases;
/* Implementation function */
- int (*cmd)(struct command *, int, char *[]);
+ int (*cmd)(int, char *[]);
const char *usage; /* Usage message (short) */
struct list_head list; /* List of commands */
diff --git a/include/driver.h b/include/driver.h
index 3c2fd566fe..f1964b7a01 100644
--- a/include/driver.h
+++ b/include/driver.h
@@ -118,7 +118,6 @@ struct driver_d {
void (*info) (struct device_d *);
void (*shortinfo) (struct device_d *);
- unsigned long type;
struct bus_type *bus;
};