diff options
author | Manuel Lauss <manuel.lauss@googlemail.com> | 2011-10-22 07:34:36 -0400 |
---|---|---|
committer | Ben Dooks <ben-linux@fluff.org> | 2011-10-29 06:14:09 -0400 |
commit | c5de6467d2a54eb81b139f29b217d0394e8a790c (patch) | |
tree | be73a47e5cb30367ac44465d0401f82d56fcb561 /arch/mips/include | |
parent | 1fdb24e969110fafea36d3b393bea438f702c87f (diff) |
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/include')
-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 892b7f168eb4..5a5cb7386427 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 { | |||
394 | #define PSC_SPITXRX_LC (1 << 29) | 394 | #define PSC_SPITXRX_LC (1 << 29) |
395 | #define PSC_SPITXRX_SR (1 << 28) | 395 | #define PSC_SPITXRX_SR (1 << 28) |
396 | 396 | ||
397 | /* PSC in SMBus (I2C) Mode. */ | ||
398 | typedef struct psc_smb { | ||
399 | u32 psc_sel; | ||
400 | u32 psc_ctrl; | ||
401 | u32 psc_smbcfg; | ||
402 | u32 psc_smbmsk; | ||
403 | u32 psc_smbpcr; | ||
404 | u32 psc_smbstat; | ||
405 | u32 psc_smbevnt; | ||
406 | u32 psc_smbtxrx; | ||
407 | u32 psc_smbtmr; | ||
408 | } psc_smb_t; | ||
409 | |||
410 | /* SMBus Config Register. */ | 397 | /* SMBus Config Register. */ |
411 | #define PSC_SMBCFG_RT_MASK (3 << 30) | 398 | #define PSC_SMBCFG_RT_MASK (3 << 30) |
412 | #define PSC_SMBCFG_RT_FIFO1 (0 << 30) | 399 | #define PSC_SMBCFG_RT_FIFO1 (0 << 30) |