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: NUwe Kleine-König <u.kleine-koenig@pengutronix.de> Acked-by: NMike Frysinger <vapier@gentoo.org> Acked-by: NGreg Ungerer <gerg@uclinux.org> Signed-off-by: NArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Showing
想要评论请 注册 或 登录