diff options
author | Hannes Eder <hannes@hanneseder.net> | 2008-12-13 00:20:03 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-12-13 00:20:03 -0500 |
commit | c31655fcf2c61f209aab8f4169b0e4afe49b581d (patch) | |
tree | f2b7c3a953f691817bf43575d6440573f94a698b /drivers/isdn/hardware/mISDN/hfc_multi.h | |
parent | c46f0a2d40f7ceb5fb696309bcd088ac75d0fe20 (diff) |
mISDN: hfcmulti: use __iomem address space modifier
Impact: make use of the __iomem address space modifier, and change u_char *,
u_short * and u_int * to void *
Fix more than 30 sparse warnings of this or similar type:
drivers/isdn/hardware/mISDN/hfcmulti.c:261:31: warning: incorrect type in argument 2 (different address spaces)
drivers/isdn/hardware/mISDN/hfcmulti.c:261:31: got unsigned char [usertype] *
drivers/isdn/hardware/mISDN/hfcmulti.c:261:31: expected void volatile [noderef] <asn:2>*addr
Signed-off-by: Hannes Eder <hannes@hanneseder.net>
Acked-by: Karsten Keil <kkeil@suse.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/isdn/hardware/mISDN/hfc_multi.h')
-rw-r--r-- | drivers/isdn/hardware/mISDN/hfc_multi.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/isdn/hardware/mISDN/hfc_multi.h b/drivers/isdn/hardware/mISDN/hfc_multi.h index a33d87afc843..7bbf7300593d 100644 --- a/drivers/isdn/hardware/mISDN/hfc_multi.h +++ b/drivers/isdn/hardware/mISDN/hfc_multi.h | |||
@@ -162,8 +162,8 @@ struct hfc_multi { | |||
162 | void (*write_fifo)(struct hfc_multi *hc, u_char *data, | 162 | void (*write_fifo)(struct hfc_multi *hc, u_char *data, |
163 | int len); | 163 | int len); |
164 | u_long pci_origmembase, plx_origmembase, dsp_origmembase; | 164 | u_long pci_origmembase, plx_origmembase, dsp_origmembase; |
165 | u_char *pci_membase; /* PCI memory (MUST BE BYTE POINTER) */ | 165 | void __iomem *pci_membase; /* PCI memory */ |
166 | u_char *plx_membase; /* PLX memory */ | 166 | void __iomem *plx_membase; /* PLX memory */ |
167 | u_char *dsp_membase; /* DSP on PLX */ | 167 | u_char *dsp_membase; /* DSP on PLX */ |
168 | u_long pci_iobase; /* PCI IO */ | 168 | u_long pci_iobase; /* PCI IO */ |
169 | struct hfcm_hw hw; /* remember data of write-only-registers */ | 169 | struct hfcm_hw hw; /* remember data of write-only-registers */ |