linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 2/2] pinctrl: exynos5440: Fix compile error in pinctrl-exynos5440/samsung.c
@ 2012-12-17  2:03 Jonghwan Choi
  2012-12-20 18:03 ` Linus Walleij
  0 siblings, 1 reply; 2+ messages in thread
From: Jonghwan Choi @ 2012-12-17  2:03 UTC (permalink / raw)
  To: 'Jonghwan Choi', linux-kernel
  Cc: 'Kukjin Kim', 'Linus Walleij', 'Thomas Abraham'

error: drivers/pinctrl/pinctrl-exynos5440.o: multiple definition of 'pcfgs'
drivers/pinctrl/pinctrl-samsung.o: previous definition here

Signed-off-by: Jonghwan Choi <jhbird.choi@samsung.com>
---
 drivers/pinctrl/pinctrl-exynos5440.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/pinctrl/pinctrl-exynos5440.c
b/drivers/pinctrl/pinctrl-exynos5440.c
index b8635f6..8a863a3 100644
--- a/drivers/pinctrl/pinctrl-exynos5440.c
+++ b/drivers/pinctrl/pinctrl-exynos5440.c
@@ -117,7 +117,7 @@ struct exynos5440_pinctrl_priv_data {
 };
 
 /* list of all possible config options supported */
-struct pin_config {
+static const struct pin_config {
 	char		*prop_cfg;
 	unsigned int	cfg_type;
 } pcfgs[] = {
-- 
1.7.4.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH 2/2] pinctrl: exynos5440: Fix compile error in pinctrl-exynos5440/samsung.c
  2012-12-17  2:03 [PATCH 2/2] pinctrl: exynos5440: Fix compile error in pinctrl-exynos5440/samsung.c Jonghwan Choi
@ 2012-12-20 18:03 ` Linus Walleij
  0 siblings, 0 replies; 2+ messages in thread
From: Linus Walleij @ 2012-12-20 18:03 UTC (permalink / raw)
  To: Jonghwan Choi; +Cc: linux-kernel, Kukjin Kim, Thomas Abraham

On Mon, Dec 17, 2012 at 3:03 AM, Jonghwan Choi <jhbird.choi@samsung.com> wrote:

> error: drivers/pinctrl/pinctrl-exynos5440.o: multiple definition of 'pcfgs'
> drivers/pinctrl/pinctrl-samsung.o: previous definition here
>
> Signed-off-by: Jonghwan Choi <jhbird.choi@samsung.com>

Patch applied.

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-12-20 18:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-17  2:03 [PATCH 2/2] pinctrl: exynos5440: Fix compile error in pinctrl-exynos5440/samsung.c Jonghwan Choi
2012-12-20 18:03 ` Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).