summaryrefslogtreecommitdiffstats
path: root/drivers/base/driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/base/driver.c')
-rw-r--r--drivers/base/driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/base/driver.c b/drivers/base/driver.c
index 3777f82d64..a2674d607b 100644
--- a/drivers/base/driver.c
+++ b/drivers/base/driver.c
@@ -351,7 +351,7 @@ static int do_devinfo_subtree(struct device_d *dev, int depth)
return 0;
}
-static int do_devinfo(struct command *cmdtp, int argc, char *argv[])
+static int do_devinfo(int argc, char *argv[])
{
struct device_d *dev;
struct driver_d *drv;