diff options
author | Sascha Hauer <s.hauer@pengutronix.de> | 2011-12-21 14:18:57 +0100 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2012-02-27 20:28:07 +0100 |
commit | 33d1cc4bf2253842d9a30dc9ca38beb30dd5b5ae (patch) | |
tree | 2bb02720568d0ac934cab588cce4ee0ecd2608da /drivers | |
parent | bb2a1ea60c94967660d6909c591f817590264826 (diff) | |
download | barebox-33d1cc4bf2253842d9a30dc9ca38beb30dd5b5ae.tar.gz barebox-33d1cc4bf2253842d9a30dc9ca38beb30dd5b5ae.tar.xz |
commands: remove struct command pointer from commands
This is unused in all commands and thus can be removed.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/base/driver.c | 2 | ||||
-rw-r--r-- | drivers/mtd/nand/nand_s3c24xx.c | 2 | ||||
-rw-r--r-- | drivers/usb/gadget/u_serial.c | 2 |
3 files changed, 3 insertions, 3 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; diff --git a/drivers/mtd/nand/nand_s3c24xx.c b/drivers/mtd/nand/nand_s3c24xx.c index e55aef0335..dbf2e1420e 100644 --- a/drivers/mtd/nand/nand_s3c24xx.c +++ b/drivers/mtd/nand/nand_s3c24xx.c @@ -606,7 +606,7 @@ void __nand_boot_init s3c24x0_nand_load_image(void *dest, int size, int page) #ifdef CONFIG_NAND_S3C24XX_BOOT_DEBUG #include <command.h> -static int do_nand_boot_test(struct command *cmdtp, int argc, char *argv[]) +static int do_nand_boot_test(int argc, char *argv[]) { void *dest; int size; diff --git a/drivers/usb/gadget/u_serial.c b/drivers/usb/gadget/u_serial.c index 980b527ff1..c5e7387d54 100644 --- a/drivers/usb/gadget/u_serial.c +++ b/drivers/usb/gadget/u_serial.c @@ -486,7 +486,7 @@ fail_out: } #include <command.h> -static int do_mycdev(struct command *cmdtp, int argc, char *argv[]) +static int do_mycdev(int argc, char *argv[]) { int i,j; |