diff options
author | Manuel Lauss <manuel.lauss@googlemail.com> | 2011-10-22 13:34:36 +0200 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2011-10-29 11:14:09 +0100 |
commit | c5de6467d2a54eb81b139f29b217d0394e8a790c (patch) | |
tree | be73a47e5cb30367ac44465d0401f82d56fcb561 /arch/mips | |
parent | 1fdb24e969110fafea36d3b393bea438f702c87f (diff) | |
download | op-kernel-dev-c5de6467d2a54eb81b139f29b217d0394e8a790c.zip op-kernel-dev-c5de6467d2a54eb81b139f29b217d0394e8a790c.tar.gz |
i2c-au1550: remove usage of volatile keyword
Replace the usage of "volatile"s with register accessor functions.
Signed-off-by: Manuel Lauss <manuel.lauss@googlemail.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/include/asm/mach-au1x00/au1xxx_psc.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/arch/mips/include/asm/mach-au1x00/au1xxx_psc.h b/arch/mips/include/asm/mach-au1x00/au1xxx_psc.h index 892b7f1..5a5cb73 100644 --- a/arch/mips/include/asm/mach-au1x00/au1xxx_psc.h +++ b/arch/mips/include/asm/mach-au1x00/au1xxx_psc.h @@ -394,19 +394,6 @@ typedef struct psc_spi { #define PSC_SPITXRX_LC (1 << 29) #define PSC_SPITXRX_SR (1 << 28) -/* PSC in SMBus (I2C) Mode. */ -typedef struct psc_smb { - u32 psc_sel; - u32 psc_ctrl; - u32 psc_smbcfg; - u32 psc_smbmsk; - u32 psc_smbpcr; - u32 psc_smbstat; - u32 psc_smbevnt; - u32 psc_smbtxrx; - u32 psc_smbtmr; -} psc_smb_t; - /* SMBus Config Register. */ #define PSC_SMBCFG_RT_MASK (3 << 30) #define PSC_SMBCFG_RT_FIFO1 (0 << 30) |