diff options
author | H Hartley Sweeten <hartleys@visionengravers.com> | 2010-06-25 21:19:50 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-07-08 19:33:03 (GMT) |
commit | aadbdeb6d4d2239e78ab4f99417783e0f1571522 (patch) | |
tree | 60336db678760de546254b842961d9245f620385 /drivers/staging/dt3155/dt3155_io.h | |
parent | 53b4725e1f51d709f4c89821bd4a09f9a881a29f (diff) | |
download | linux-fsl-qoriq-aadbdeb6d4d2239e78ab4f99417783e0f1571522.tar.xz |
Staging: dt3155: remove remaining 32-bit and 8-bit global registers
Remove the remaining global 32-bit and 8-bit i2c registers. Create a
local variable of the correct type where they are needed.
Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Scott Smedley <ss@aao.gov.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/dt3155/dt3155_io.h')
-rw-r--r-- | drivers/staging/dt3155/dt3155_io.h | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/drivers/staging/dt3155/dt3155_io.h b/drivers/staging/dt3155/dt3155_io.h index 730e30a..1c7d4d7 100644 --- a/drivers/staging/dt3155/dt3155_io.h +++ b/drivers/staging/dt3155/dt3155_io.h @@ -206,22 +206,6 @@ typedef union dma_upper_lmt_tag { } DMA_UPPER_LMT_R; -/* - * Global declarations of local copies of boards' 32 bit registers - */ -extern u32 even_dma_start_r; /* bit 0 should always be 0 */ -extern u32 odd_dma_start_r; /* .. */ -extern u32 even_dma_stride_r; /* bits 0&1 should always be 0 */ -extern u32 odd_dma_stride_r; /* .. */ - -extern CSR1_R csr1_r; -extern INT_CSR_R int_csr_r; - -extern IIC_CSR1_R iic_csr1_r; -extern IIC_CSR2_R iic_csr2_r; - - - /***************** 8 bit I2C register globals ***********/ #define CSR2 0x010 /* indices of 8-bit I2C mapped reg's*/ #define EVEN_CSR 0x011 @@ -312,14 +296,6 @@ typedef union i2c_ad_cmd_tag { } I2C_AD_CMD; -/***** Global declarations of local copies of boards' 8 bit I2C registers ***/ - -extern I2C_CSR2 i2c_csr2; -extern I2C_EVEN_CSR i2c_even_csr; -extern I2C_ODD_CSR i2c_odd_csr; - -/* Functions for Global use */ - /* access 8-bit IIC registers */ extern int ReadI2C(void __iomem *mmio, u_short wIregIndex, u8 *byVal); |