summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorPeter Tyser <ptyser@xes-inc.com>2009-04-20 11:08:46 -0500
committerWolfgang Denk <wd@denx.de>2009-04-28 01:01:39 +0200
commitf9a109b3adc5e8647535357500e2a38f0558b5c2 (patch)
tree40ff3b55d9ea638f2effcb7456811cb271622fab /drivers
parent08f077da9298ff65cc6f85f90d2770000a1beee9 (diff)
downloadu-boot-imx-f9a109b3adc5e8647535357500e2a38f0558b5c2.zip
u-boot-imx-f9a109b3adc5e8647535357500e2a38f0558b5c2.tar.gz
u-boot-imx-f9a109b3adc5e8647535357500e2a38f0558b5c2.tar.bz2
Replace __attribute references with __attribute__
__attribute__ follows gcc's documented syntax and is generally more common than __attribute. This change is only asthetic and should not affect functionality. Signed-off-by: Peter Tyser <ptyser@xes-inc.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mmc/mmc.c4
-rw-r--r--drivers/usb/host/ohci.h8
-rw-r--r--drivers/usb/musb/musb_core.h2
3 files changed, 7 insertions, 7 deletions
diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c
index 96186d9..7791c38 100644
--- a/drivers/mmc/mmc.c
+++ b/drivers/mmc/mmc.c
@@ -896,8 +896,8 @@ static int __def_mmc_init(bd_t *bis)
return -1;
}
-int cpu_mmc_init(bd_t *bis) __attribute((weak, alias("__def_mmc_init")));
-int board_mmc_init(bd_t *bis) __attribute((weak, alias("__def_mmc_init")));
+int cpu_mmc_init(bd_t *bis) __attribute__((weak, alias("__def_mmc_init")));
+int board_mmc_init(bd_t *bis) __attribute__((weak, alias("__def_mmc_init")));
void print_mmc_devices(char separator)
{
diff --git a/drivers/usb/host/ohci.h b/drivers/usb/host/ohci.h
index a547337..79aa79d 100644
--- a/drivers/usb/host/ohci.h
+++ b/drivers/usb/host/ohci.h
@@ -101,7 +101,7 @@ struct ed {
struct usb_device *usb_dev;
void *purb;
__u32 unused[2];
-} __attribute((aligned(16)));
+} __attribute__((aligned(16)));
typedef struct ed ed_t;
@@ -161,7 +161,7 @@ struct td {
__u32 data;
__u32 unused2[2];
-} __attribute((aligned(32)));
+} __attribute__((aligned(32)));
typedef struct td td_t;
#define OHCI_ED_SKIP (1 << 14)
@@ -184,7 +184,7 @@ struct ohci_hcca {
#endif
__u32 done_head; /* info returned for an interrupt */
u8 reserved_for_hc[116];
-} __attribute((aligned(256)));
+} __attribute__((aligned(256)));
/*
@@ -228,7 +228,7 @@ struct ohci_regs {
__u32 status;
__u32 portstatus[CONFIG_SYS_USB_OHCI_MAX_ROOT_PORTS];
} roothub;
-} __attribute((aligned(32)));
+} __attribute__((aligned(32)));
/* Some EHCI controls */
#define EHCI_USBCMD_OFF 0x20
diff --git a/drivers/usb/musb/musb_core.h b/drivers/usb/musb/musb_core.h
index 2597c5f..b81c536 100644
--- a/drivers/usb/musb/musb_core.h
+++ b/drivers/usb/musb/musb_core.h
@@ -97,7 +97,7 @@ struct musb_regs {
u8 rxhubaddr;
u8 rxhubport;
} tar[16];
-} __attribute((aligned(32)));
+} __attribute__((aligned(32)));
/*
* MUSB Register bits