From mboxrd@z Thu Jan 1 00:00:00 1970 From: linus.walleij@linaro.org (Linus Walleij) Date: Mon, 15 Feb 2016 20:41:22 +0100 Subject: [PATCH] pinctrl: coh901: fix initconst annotation In-Reply-To: <1454941800-2776480-1-git-send-email-arnd@arndb.de> References: <1454941800-2776480-1-git-send-email-arnd@arndb.de> Message-ID: To: linux-arm-kernel@lists.infradead.org List-Id: linux-arm-kernel.lists.infradead.org On Mon, Feb 8, 2016 at 3:29 PM, Arnd Bergmann wrote: > Clang correctly points out that the section attribute for u300_gpio_confdata > is in the wrong place: > > drivers/pinctrl/pinctrl-coh901.c:130:37: error: '__section__' attribute only applies to functions and global variables > > This moves it from the type name to the variable, so it actually gets > discarded. > > Signed-off-by: Arnd Bergmann Patch applied. Yours, Linus Walleij