Staging: rt28x0: remove typedefs (part three)
[pandora-kernel.git] / drivers / staging / rt2860 / eeprom.h
index 9979fef..039801a 100644 (file)
@@ -24,7 +24,6 @@
  *                                                                       *
  *************************************************************************
 
-
        Module Name:
        eeprom.h
 
 #ifndef __EEPROM_H__
 #define __EEPROM_H__
 
-
-
 #ifdef RTMP_PCI_SUPPORT
 /*************************************************************************
   *    Public function declarations for prom-based chipset
   ************************************************************************/
-int rtmp_ee_prom_read16(
-       IN PRTMP_ADAPTER        pAd,
-       IN USHORT                       Offset,
-       OUT USHORT                      *pValue);
-#endif // RTMP_PCI_SUPPORT //
+int rtmp_ee_prom_read16(struct rt_rtmp_adapter *pAd,
+                       u16 Offset, u16 * pValue);
+#endif /* RTMP_PCI_SUPPORT // */
 #ifdef RTMP_USB_SUPPORT
 /*************************************************************************
   *    Public function declarations for usb-based prom chipset
   ************************************************************************/
-NTSTATUS RTUSBReadEEPROM16(
-       IN PRTMP_ADAPTER        pAd,
-       IN      USHORT                  offset,
-       OUT     PUSHORT                 pData);
-#endif // RTMP_USB_SUPPORT //
+int RTUSBReadEEPROM16(struct rt_rtmp_adapter *pAd,
+                          u16 offset, u16 *pData);
+#endif /* RTMP_USB_SUPPORT // */
 
 #ifdef RT30xx
 #ifdef RTMP_EFUSE_SUPPORT
-int rtmp_ee_efuse_read16(
-       IN RTMP_ADAPTER *pAd,
-       IN USHORT Offset,
-       OUT USHORT *pValue);
-#endif // RTMP_EFUSE_SUPPORT //
-#endif // RT30xx //
+int rtmp_ee_efuse_read16(struct rt_rtmp_adapter *pAd,
+                        u16 Offset, u16 * pValue);
+#endif /* RTMP_EFUSE_SUPPORT // */
+#endif /* RT30xx // */
 
 /*************************************************************************
   *    Public function declarations for prom operation callback functions setting
   ************************************************************************/
-INT RtmpChipOpsEepromHook(
-       IN RTMP_ADAPTER *pAd,
-       IN INT                  infType);
+int RtmpChipOpsEepromHook(struct rt_rtmp_adapter *pAd, int infType);
 
-#endif // __EEPROM_H__ //
+#endif /* __EEPROM_H__ // */