mtd: diskonchip: don't warn about ARM architecture
commitca796f85901880c1247e19053d70b640f996813e
authorArnd Bergmann <arnd@arndb.de>
Tue, 6 Nov 2012 21:55:26 +0000 (6 22:55 +0100)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Fri, 16 Nov 2012 08:57:38 +0000 (16 10:57 +0200)
tree33d85cc9bb73149fcbc21402193980a4b55e16a2
parentf251b8dfdd0721255ea11751cdc282834e43b74e
mtd: diskonchip: don't warn about ARM architecture

Enabling the diskonchip drivers on most architectures results
in a pointless warning "#warning Unknown architecture for
DiskOnChip. No default probe locations defined". The driver
can in fact handle the default location already through the
CONFIG_MTD_DOCPROBE_ADDRESS, which gets set on the platforms
that need it, and we get a run-time error if this is not
set correctly.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
drivers/mtd/devices/docprobe.c
drivers/mtd/nand/diskonchip.c