mtd: uclinux: add a comment about why uclinux_ram_map must not be static
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Wed, 16 Jan 2013 14:36:56 +0000 (15:36 +0100)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Mon, 4 Feb 2013 07:26:30 +0000 (09:26 +0200)
commit44fe63fc0fcbfef65b5a8c015abb4dbbbcc90f23
tree71074847d659682f7a71b944818db47d92bdbaea
parent81f53ff89c136b72fc35a91d676aca2bc332bd33
mtd: uclinux: add a comment about why uclinux_ram_map must not be static

I was (at least) the second person trying to fix a warning by sparse, so
document in the code why this is a bad idea and add an extern declaration to
make sparse happy.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Acked-by: Greg Ungerer <gerg@uclinux.org>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
drivers/mtd/maps/uclinux.c