]> git.sur5r.net Git - u-boot/commit
jffs2: include <linux/mtd/compat.h> instead of defining own min_t
authorIlya Yanok <yanok@emcraft.com>
Thu, 11 Dec 2008 02:51:57 +0000 (05:51 +0300)
committerWolfgang Denk <wd@denx.de>
Tue, 16 Dec 2008 16:14:54 +0000 (17:14 +0100)
commit584eedab66d0828f2d571a24b10526c4e65f547b
tree1efa8c24563643062006e1ba6986a97ed30f3825
parentb1ffecec37b57a59c139042267faac458e5324e9
jffs2: include <linux/mtd/compat.h> instead of defining own min_t

Include <linux/mtd/compat.h> header for min_t definition instead of
providing our own one. Removes warnings in case of OneNAND support
enabled.

Although I thinks it's a bit silly to include <linux/mtd/compat.h>
just for min_t...

Signed-off-by: Ilya Yanok <yanok@emcraft.com>
Acked-by: Stefan Roese <sr@denx.de>
fs/jffs2/jffs2_1pass.c