mtd: physmap_of_gemini: remove extranous __xipram annotation
authorArnd Bergmann <arnd@arndb.de>
Wed, 13 Mar 2019 21:18:41 +0000 (22:18 +0100)
committerRichard Weinberger <richard@nod.at>
Mon, 6 May 2019 19:46:44 +0000 (21:46 +0200)
commitc58b1ff20ffd0f48b1618cb664bc95a98dd2bf85
treefeba317fb118d09695480c1e7adb4b9a1d1bdb29
parent8b522c4baa5cce324d1a24ea93dc6bfbb6967e5f
mtd: physmap_of_gemini: remove extranous __xipram annotation

Marking a local variable as __xipram causes a warning because of the
noinline attribute:

drivers/mtd/maps/physmap-gemini.c:89:11: error: '__noinline__' attribute only applies to functions [-Werror,-Wignored-attributes]
        map_word __xipram ret;
                 ^
include/linux/mtd/xip.h:34:18: note: expanded from macro '__xipram'
 #define __xipram noinline __attribute__ ((__section__ (".xiptext")))

I can't see any reason for the anotation anyway, so just remove it here.

Fixes: 9d3b5086f6d4 ("mtd: physmap_of_gemini: Handle pin control")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Richard Weinberger <richard@nod.at>
drivers/mtd/maps/physmap-gemini.c