diff options
author | Charles Clément <caratorn@gmail.com> | 2010-06-22 19:54:42 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-06-23 02:43:08 +0400 |
commit | 412b2d08b93165303d698267d1eeac19e14e67a4 (patch) | |
tree | 6ae14956f49e0fa242cc3238a7436383b8bd351a /drivers/staging/vt6655/srom.h | |
parent | dec572cbe67598080f7beb00279db1a5590cec35 (diff) | |
download | linux-412b2d08b93165303d698267d1eeac19e14e67a4.tar.xz |
Staging: vt6655: remove DWORD_PTR pointer typedef
Use unsigned long instead.
Signed-off-by: Charles Clément <caratorn@gmail.com>
Diffstat (limited to 'drivers/staging/vt6655/srom.h')
-rw-r--r-- | drivers/staging/vt6655/srom.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/drivers/staging/vt6655/srom.h b/drivers/staging/vt6655/srom.h index 53e3f596a33f..1df61f446c9b 100644 --- a/drivers/staging/vt6655/srom.h +++ b/drivers/staging/vt6655/srom.h @@ -135,23 +135,23 @@ typedef struct tagSSromReg { /*--------------------- Export Functions --------------------------*/ -BYTE SROMbyReadEmbedded(DWORD_PTR dwIoBase, BYTE byContntOffset); -BOOL SROMbWriteEmbedded(DWORD_PTR dwIoBase, BYTE byContntOffset, BYTE byData); +BYTE SROMbyReadEmbedded(unsigned long dwIoBase, BYTE byContntOffset); +BOOL SROMbWriteEmbedded(unsigned long dwIoBase, BYTE byContntOffset, BYTE byData); -void SROMvRegBitsOn(DWORD_PTR dwIoBase, BYTE byContntOffset, BYTE byBits); -void SROMvRegBitsOff(DWORD_PTR dwIoBase, BYTE byContntOffset, BYTE byBits); +void SROMvRegBitsOn(unsigned long dwIoBase, BYTE byContntOffset, BYTE byBits); +void SROMvRegBitsOff(unsigned long dwIoBase, BYTE byContntOffset, BYTE byBits); -BOOL SROMbIsRegBitsOn(DWORD_PTR dwIoBase, BYTE byContntOffset, BYTE byTestBits); -BOOL SROMbIsRegBitsOff(DWORD_PTR dwIoBase, BYTE byContntOffset, BYTE byTestBits); +BOOL SROMbIsRegBitsOn(unsigned long dwIoBase, BYTE byContntOffset, BYTE byTestBits); +BOOL SROMbIsRegBitsOff(unsigned long dwIoBase, BYTE byContntOffset, BYTE byTestBits); -void SROMvReadAllContents(DWORD_PTR dwIoBase, unsigned char *pbyEepromRegs); -void SROMvWriteAllContents(DWORD_PTR dwIoBase, unsigned char *pbyEepromRegs); +void SROMvReadAllContents(unsigned long dwIoBase, unsigned char *pbyEepromRegs); +void SROMvWriteAllContents(unsigned long dwIoBase, unsigned char *pbyEepromRegs); -void SROMvReadEtherAddress(DWORD_PTR dwIoBase, unsigned char *pbyEtherAddress); -void SROMvWriteEtherAddress(DWORD_PTR dwIoBase, unsigned char *pbyEtherAddress); +void SROMvReadEtherAddress(unsigned long dwIoBase, unsigned char *pbyEtherAddress); +void SROMvWriteEtherAddress(unsigned long dwIoBase, unsigned char *pbyEtherAddress); -void SROMvReadSubSysVenId(DWORD_PTR dwIoBase, unsigned long *pdwSubSysVenId); +void SROMvReadSubSysVenId(unsigned long dwIoBase, unsigned long *pdwSubSysVenId); -BOOL SROMbAutoLoad (DWORD_PTR dwIoBase); +BOOL SROMbAutoLoad (unsigned long dwIoBase); #endif // __EEPROM_H__ |