From: cavokz@gmail.com (Domenico Andreoli)
To: linux-arm-kernel@lists.infradead.org
Subject: [patch 1/2] Add dt_compat field to struct s3c_gpio_chip
Date: Sun, 10 Apr 2011 17:33:12 +0200 [thread overview]
Message-ID: <20110410153312.GB27088@dandreoli.com> (raw)
In-Reply-To: 20110410152735.338798127@gmail.com
From: Domenico Andreoli <cavokz@gmail.com>
This new field allows easy creation of GPIO chips in base of struct arrays.
Signed-off-by: Domenico Andreoli <cavokz@gmail.com>
---
arch/arm/plat-samsung/include/plat/gpio-core.h | 3 +++
1 file changed, 3 insertions(+)
Index: b/arch/arm/plat-samsung/include/plat/gpio-core.h
===================================================================
--- a/arch/arm/plat-samsung/include/plat/gpio-core.h 2011-04-07 22:43:45.000000000 +0200
+++ b/arch/arm/plat-samsung/include/plat/gpio-core.h 2011-04-10 16:00:39.000000000 +0200
@@ -71,6 +71,9 @@
#ifdef CONFIG_PM
u32 pm_save[4];
#endif
+#ifdef CONFIG_OF_GPIO
+ const char *dt_compat;
+#endif
};
static inline struct s3c_gpio_chip *to_s3c_gpio(struct gpio_chip *gpc)
WARNING: multiple messages have this Message-ID (diff)
From: Domenico Andreoli <cavokz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: devicetree-discuss-uLR06cmDAlY/bJ5BZ2RsiQ@public.gmane.org
Cc: linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org
Subject: [patch 1/2] Add dt_compat field to struct s3c_gpio_chip
Date: Sun, 10 Apr 2011 17:33:12 +0200 [thread overview]
Message-ID: <20110410153312.GB27088@dandreoli.com> (raw)
In-Reply-To: 20110410152735.338798127@gmail.com
[-- Attachment #1: arm-plat-samsung-add-dt_compat-to-s3c_gpio_chip --]
[-- Type: text/plain, Size: 832 bytes --]
From: Domenico Andreoli <cavokz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
This new field allows easy creation of GPIO chips in base of struct arrays.
Signed-off-by: Domenico Andreoli <cavokz-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
---
arch/arm/plat-samsung/include/plat/gpio-core.h | 3 +++
1 file changed, 3 insertions(+)
Index: b/arch/arm/plat-samsung/include/plat/gpio-core.h
===================================================================
--- a/arch/arm/plat-samsung/include/plat/gpio-core.h 2011-04-07 22:43:45.000000000 +0200
+++ b/arch/arm/plat-samsung/include/plat/gpio-core.h 2011-04-10 16:00:39.000000000 +0200
@@ -71,6 +71,9 @@
#ifdef CONFIG_PM
u32 pm_save[4];
#endif
+#ifdef CONFIG_OF_GPIO
+ const char *dt_compat;
+#endif
};
static inline struct s3c_gpio_chip *to_s3c_gpio(struct gpio_chip *gpc)
next parent reply other threads:[~2011-04-10 15:33 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20110410152735.338798127@gmail.com>
2011-04-10 15:33 ` Domenico Andreoli [this message]
2011-04-10 15:33 ` [patch 1/2] Add dt_compat field to struct s3c_gpio_chip Domenico Andreoli
2011-04-11 6:41 ` Grant Likely
2011-04-11 6:41 ` Grant Likely
2011-04-10 15:33 ` [patch 2/2] Add GPIO DT support to s3c24xx Domenico Andreoli
2011-04-10 15:33 ` Domenico Andreoli
2011-04-11 6:47 ` Grant Likely
2011-04-11 6:47 ` Grant Likely
2011-04-11 8:53 ` Domenico Andreoli
2011-04-11 9:33 ` [PATCH v3] " Domenico Andreoli
2011-04-11 9:33 ` Domenico Andreoli
2011-04-15 0:08 ` Marek Vasut
2011-04-15 0:08 ` Marek Vasut
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110410153312.GB27088@dandreoli.com \
--to=cavokz@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.