]> git.karo-electronics.de Git - karo-tx-linux.git/commit
pinctrl: Remove unsafe __refdata
authorStephen Warren <swarren@nvidia.com>
Wed, 19 Oct 2011 22:19:26 +0000 (16:19 -0600)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 28 Oct 2011 19:41:17 +0000 (21:41 +0200)
commit28b0030cd22527dc8e405e61054f8d3d48f0a7cb
tree938921904b37008dec4942489f51cb4735c2e330
parentcbd3cc35693d97e13a224ed77d2435232960bebf
pinctrl: Remove unsafe __refdata

A pin controller's pin definitions are used both during pinctrl_register()
and pinctrl_unregister(). The latter happens outside of __init/__devinit
time, and hence it is unsafe to mark the pin array as __refdata.

Acked-by: Barry Song <Baohua.Song@csr.com>
Signed-off-by: Stephen Warren <swarren@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinmux-sirf.c
drivers/pinctrl/pinmux-u300.c