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>
This commit is contained in:
committed by
David S. Miller
parent
c46f0a2d40
commit
c31655fcf2
@ -162,8 +162,8 @@ struct hfc_multi {
|
||||
void (*write_fifo)(struct hfc_multi *hc, u_char *data,
|
||||
int len);
|
||||
u_long pci_origmembase, plx_origmembase, dsp_origmembase;
|
||||
u_char *pci_membase; /* PCI memory (MUST BE BYTE POINTER) */
|
||||
u_char *plx_membase; /* PLX memory */
|
||||
void __iomem *pci_membase; /* PCI memory */
|
||||
void __iomem *plx_membase; /* PLX memory */
|
||||
u_char *dsp_membase; /* DSP on PLX */
|
||||
u_long pci_iobase; /* PCI IO */
|
||||
struct hfcm_hw hw; /* remember data of write-only-registers */
|
||||
|
Reference in New Issue
Block a user