diff options
author | Jingoo Han <jg1.han@samsung.com> | 2013-08-06 05:14:12 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-08-07 16:30:40 -0400 |
commit | 2c9fdcf17e0b629adb42ed86d0477620fcde2965 (patch) | |
tree | 3b6514b44eb3bdcbb99e866547ea0a129d9b1611 /drivers/pinctrl/sirf | |
parent | 9b6803542e1bd544289d605c84233a0e0a46ac7d (diff) |
pinctrl: sirf: add missing __iomem annotation
Added missing __iomem annotation in order to fix the following
sparse warnings:
drivers/pinctrl/sirf/pinctrl-sirf.c:846:14: warning: incorrect type in assignment (different address spaces)
drivers/pinctrl/sirf/pinctrl-sirf.c:846:14: expected void *regs
drivers/pinctrl/sirf/pinctrl-sirf.c:846:14: got void [noderef] <asn:2>*
drivers/pinctrl/sirf/pinctrl-sirf.c:869:33: warning: incorrect type in assignment (different address spaces)
drivers/pinctrl/sirf/pinctrl-sirf.c:869:33: expected void [noderef] <asn:2>*regs
drivers/pinctrl/sirf/pinctrl-sirf.c:869:33: got void *regs
drivers/pinctrl/sirf/pinctrl-sirf.c:909:17: warning: incorrect type in argument 1 (different address spaces)
drivers/pinctrl/sirf/pinctrl-sirf.c:909:17: expected void volatile [noderef] <asn:2>*addr
drivers/pinctrl/sirf/pinctrl-sirf.c:909:17: got void *regs
Signed-off-by: Jingoo Han <jg1.han@samsung.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/pinctrl/sirf')
-rw-r--r-- | drivers/pinctrl/sirf/pinctrl-sirf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pinctrl/sirf/pinctrl-sirf.c b/drivers/pinctrl/sirf/pinctrl-sirf.c index 0792e8d4887e..26f946af7933 100644 --- a/drivers/pinctrl/sirf/pinctrl-sirf.c +++ b/drivers/pinctrl/sirf/pinctrl-sirf.c | |||
@@ -833,7 +833,7 @@ static int sirfsoc_gpio_probe(struct device_node *np) | |||
833 | { | 833 | { |
834 | int i, err = 0; | 834 | int i, err = 0; |
835 | struct sirfsoc_gpio_bank *bank; | 835 | struct sirfsoc_gpio_bank *bank; |
836 | void *regs; | 836 | void __iomem *regs; |
837 | struct platform_device *pdev; | 837 | struct platform_device *pdev; |
838 | bool is_marco = false; | 838 | bool is_marco = false; |
839 | 839 | ||