From: Jean-Christophe PLAGNIOL-VILLARD Date: Sun, 24 May 2009 17:49:03 +0200 Subject: [U-Boot] [PATCHv3 3/5] omap3: remove typedefs for configuration structs In-Reply-To: <042680c935ee2a71d7cd006d3fd5c01e7893b2db.1242716287.git.mludwig@ultratronik.de> References: <042680c935ee2a71d7cd006d3fd5c01e7893b2db.1242716287.git.mludwig@ultratronik.de> Message-ID: <20090524154903.GL26561@game.jcrosoft.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 09:09 Tue 19 May , Matthias Ludwig wrote: > Signed-off-by: Matthias Ludwig > --- > board/omap3/beagle/beagle.c | 6 ++-- > board/omap3/evm/evm.c | 6 ++-- > board/omap3/pandora/pandora.c | 8 +++--- > board/omap3/zoom2/zoom2.c | 2 +- > cpu/arm_cortexa8/omap3/board.c | 16 ++++++------ > cpu/arm_cortexa8/omap3/clock.c | 14 +++++----- > cpu/arm_cortexa8/omap3/mem.c | 14 +++++----- > cpu/arm_cortexa8/omap3/sys_info.c | 12 ++++---- > cpu/arm_cortexa8/omap3/timer.c | 2 +- > drivers/mtd/nand/omap_gpmc.c | 2 +- > include/asm-arm/arch-omap3/cpu.h | 50 ++++++++++++++++++------------------ > include/asm-arm/arch-omap3/mem.h | 4 +- > include/asm-arm/arch-omap3/omap3.h | 8 +++--- > include/configs/omap3_beagle.h | 2 +- > include/configs/omap3_evm.h | 2 +- > include/configs/omap3_overo.h | 2 +- > include/configs/omap3_pandora.h | 2 +- > include/configs/omap3_zoom1.h | 2 +- > include/configs/omap3_zoom2.h | 2 +- > 19 files changed, 78 insertions(+), 78 deletions(-) > > diff --git a/board/omap3/beagle/beagle.c b/board/omap3/beagle/beagle.c > index 7eb70ee..2dc11dd 100644 > --- a/board/omap3/beagle/beagle.c > +++ b/board/omap3/beagle/beagle.c > @@ -74,7 +74,7 @@ int beagle_get_revision(void) > */ > void beagle_identify(void) > { > - gpio_t *gpio6_base = (gpio_t *)OMAP34XX_GPIO6_BASE; > + struct gpio *gpio6_base = (struct gpio *)OMAP34XX_GPIO6_BASE; please use a namespace name gpio is too much generic and it's the same for the other struct sms, pm etc... omap_ will be better as the omap4 will certanly use the same or near IP Best Regards, J.