diff options
author | Juergen Beisert <j.beisert@pengutronix.de> | 2009-06-26 12:53:08 +0200 |
---|---|---|
committer | Juergen Beisert <j.beisert@pengutronix.de> | 2009-07-01 11:19:22 +0200 |
commit | fbf95dfc21debd65d59e05d4a85299fb2d93b69f (patch) | |
tree | afc9837a1657f12c8cabe9d2f95da335a8604fbb /common | |
parent | 97799e8a16703e61992b50b08b5b06f563e70770 (diff) | |
download | barebox-fbf95dfc21debd65d59e05d4a85299fb2d93b69f.tar.gz barebox-fbf95dfc21debd65d59e05d4a85299fb2d93b69f.tar.xz |
Change return type of function part_remove to void, otherwise the compiler
complains:
common/partition.c:245: warning: initialization from incompatible pointer type
Signed-off-by: Juergen Beisert <j.beisert@pengutronix.de>
Diffstat (limited to 'common')
-rw-r--r-- | common/partition.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/common/partition.c b/common/partition.c index 0c6b7d70b8..d374e6c031 100644 --- a/common/partition.c +++ b/common/partition.c @@ -229,11 +229,9 @@ static int part_probe(struct device_d *dev) /** * FIXME. * @param[in] dev The partition info as a device - * @return 0 */ -static int part_remove(struct device_d *dev) +static void part_remove(struct device_d *dev) { - return 0; } /** |