From: "Benoît Thébaudeau" <benoit.thebaudeau@advansee.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH 2/6] mx35 gpio: Homogenize register naming
Date: Tue, 14 Aug 2012 21:39:36 +0200 (CEST) [thread overview]
Message-ID: <1703369390.2410686.1344973176125.JavaMail.root@advansee.com> (raw)
In-Reply-To: <1398572630.2410677.1344973156134.JavaMail.root@advansee.com>
mxc_gpio.c uses a 'gpio_' prefix for the dr and dir registers, so use it for
the other gpio registers too.
Signed-off-by: Beno?t Th?baudeau <benoit.thebaudeau@advansee.com>
Cc: Stefano Babic <sbabic@denx.de>
---
.../arch/arm/include/asm/arch-mx35/gpio.h | 16 ++++++++--------
1 file changed, 8 insertions(+), 8 deletions(-)
diff --git u-boot-4d3c95f.orig/arch/arm/include/asm/arch-mx35/gpio.h u-boot-4d3c95f/arch/arm/include/asm/arch-mx35/gpio.h
index 7bcc3e8..0caca70 100644
--- u-boot-4d3c95f.orig/arch/arm/include/asm/arch-mx35/gpio.h
+++ u-boot-4d3c95f/arch/arm/include/asm/arch-mx35/gpio.h
@@ -27,14 +27,14 @@
/* GPIO registers */
struct gpio_regs {
- u32 gpio_dr; /* data */
- u32 gpio_dir; /* direction */
- u32 psr; /* pad satus */
- u32 icr1; /* interrupt config 1 */
- u32 icr2; /* interrupt config 2 */
- u32 imr; /* interrupt mask */
- u32 isr; /* interrupt status */
- u32 edge_sel; /* edge select */
+ u32 gpio_dr; /* data */
+ u32 gpio_dir; /* direction */
+ u32 gpio_psr; /* pad satus */
+ u32 gpio_icr1; /* interrupt config 1 */
+ u32 gpio_icr2; /* interrupt config 2 */
+ u32 gpio_imr; /* interrupt mask */
+ u32 gpio_isr; /* interrupt status */
+ u32 gpio_edge_sel; /* edge select */
};
#endif
next prev parent reply other threads:[~2012-08-14 19:39 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-08-14 19:39 [U-Boot] [PATCH 1/6] mx35 iomux: Remove unused macro Benoît Thébaudeau
2012-08-14 19:39 ` Benoît Thébaudeau [this message]
2012-08-14 19:39 ` [U-Boot] [PATCH 3/6] mx35: Fix broken pin definitions Benoît Thébaudeau
2012-08-20 10:15 ` Stefano Babic
2012-08-23 9:08 ` Stefano Babic
2012-08-23 9:09 ` Stefano Babic
2012-08-14 19:40 ` [U-Boot] [PATCH 4/6] mx35: Remove declaration of non-existing function Benoît Thébaudeau
2012-08-20 10:18 ` Stefano Babic
2012-08-23 9:10 ` Stefano Babic
2012-08-14 19:40 ` [U-Boot] [PATCH 5/6] mx35: Add default pin initializers Benoît Thébaudeau
2012-08-20 10:20 ` Stefano Babic
2012-08-14 19:40 ` [U-Boot] [PATCH 6/6] mx35: Use " Benoît Thébaudeau
2012-08-20 10:17 ` [U-Boot] [PATCH 1/6] mx35 iomux: Remove unused macro Stefano Babic
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=1703369390.2410686.1344973176125.JavaMail.root@advansee.com \
--to=benoit.thebaudeau@advansee.com \
--cc=u-boot@lists.denx.de \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox