summaryrefslogtreecommitdiffstats
path: root/commands/nand.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2009-03-19 17:47:52 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2009-03-19 18:23:48 +0100
commitdba6c8ed44a7390cbe70d51ea103c1a626a5d087 (patch)
treee075423800c8229877b42516417d715352b64a36 /commands/nand.c
parent7e80e7b81702d78d0420c75b57e583942924b862 (diff)
downloadbarebox-dba6c8ed44a7390cbe70d51ea103c1a626a5d087.tar.gz
fix compiler warning
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands/nand.c')
-rw-r--r--commands/nand.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/commands/nand.c b/commands/nand.c
index 725cb65..7bcb0a4 100644
--- a/commands/nand.c
+++ b/commands/nand.c
@@ -171,9 +171,8 @@ static int nand_bb_probe(struct device_d *dev)
return nand_bb_calc_size(bb);
}
-static int nand_bb_remove(struct device_d *dev)
+static void nand_bb_remove(struct device_d *dev)
{
- return 0;
}
struct driver_d nand_bb_driver = {