[MTD] [NOR] Test devtype, not definition in flash_probe(), drivers/mtd/devices/lart.c
commit0bdf77f85bd89d5e00d32af0fb7d2dac63ce8ff5
authorRoel Kluin <12o3l@tiscali.nl>
Mon, 28 Jan 2008 10:48:09 +0000 (28 11:48 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Sun, 3 Feb 2008 07:12:09 +0000 (3 18:12 +1100)
tree5b4b665fcb5f45c8897fda9b1962d6c7d139de7b
parent9308758c50610c077ca41e82c4b98b2de96e8387
[MTD] [NOR] Test devtype, not definition in flash_probe(), drivers/mtd/devices/lart.c

drivers/mtd/devices/lart.c:119:#define FLASH_DEVICE_16mbit_BOTTOM 0x88f488f4
As was, unless "manufacturer != FLASH_MANUFACTURER" this returned true

Signed-off-by: Roel Kluin <12o3l@tiscali.nl>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/devices/lart.c