diff options
author | Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> | 2012-12-15 17:50:53 -0500 |
---|---|---|
committer | Simon Horman <horms+renesas@verge.net.au> | 2013-01-24 19:24:22 -0500 |
commit | 4aeacd5bd5c354c1b36bfe3d5d72806ecd9605a0 (patch) | |
tree | 4ee828ad1f6027bbc3a9ed6c0b83da5807be21dd /drivers/sh/pfc/core.h | |
parent | 90efde223d2ab5ab84008986d97df0f01a49f15f (diff) |
sh-pfc: Use sh_pfc_ namespace prefix through the whole driver
Most of the function and structure names are prefixed by sh_pfc_. Fix
the ones that are not to avoid namespace clashes (especially for
functions that start with gpio_).
Not included in this patch are the platform data structures, those will
be reworked later.
Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Diffstat (limited to 'drivers/sh/pfc/core.h')
-rw-r--r-- | drivers/sh/pfc/core.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/sh/pfc/core.h b/drivers/sh/pfc/core.h index 1287b3e6222c..d6a40bc592ff 100644 --- a/drivers/sh/pfc/core.h +++ b/drivers/sh/pfc/core.h | |||
@@ -14,7 +14,7 @@ | |||
14 | #include <linux/sh_pfc.h> | 14 | #include <linux/sh_pfc.h> |
15 | #include <linux/types.h> | 15 | #include <linux/types.h> |
16 | 16 | ||
17 | struct pfc_window { | 17 | struct sh_pfc_window { |
18 | phys_addr_t phys; | 18 | phys_addr_t phys; |
19 | void __iomem *virt; | 19 | void __iomem *virt; |
20 | unsigned long size; | 20 | unsigned long size; |
@@ -28,7 +28,7 @@ struct sh_pfc { | |||
28 | struct sh_pfc_platform_data *pdata; | 28 | struct sh_pfc_platform_data *pdata; |
29 | spinlock_t lock; | 29 | spinlock_t lock; |
30 | 30 | ||
31 | struct pfc_window *window; | 31 | struct sh_pfc_window *window; |
32 | struct sh_pfc_chip *gpio; | 32 | struct sh_pfc_chip *gpio; |
33 | struct sh_pfc_pinctrl *pinctrl; | 33 | struct sh_pfc_pinctrl *pinctrl; |
34 | }; | 34 | }; |