projects
/
open-ath9k-htc-firmware.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
remove unused opt_ah.h
[open-ath9k-htc-firmware.git]
/
target_firmware
/
magpie_fw_dev
/
target
/
adf
/
adf_os_pci_pvt.h
diff --git
a/target_firmware/magpie_fw_dev/target/adf/adf_os_pci_pvt.h
b/target_firmware/magpie_fw_dev/target/adf/adf_os_pci_pvt.h
index c4d6b703f26cd0e2ac87910c755955c6a44861b0..4e7861f403d128c22220e4b1764d04a98468a670 100755
(executable)
--- a/
target_firmware/magpie_fw_dev/target/adf/adf_os_pci_pvt.h
+++ b/
target_firmware/magpie_fw_dev/target/adf/adf_os_pci_pvt.h
@@
-47,7
+47,7
@@
/**
* exit module macro
*/
/**
* exit module macro
*/
-#define __adf_os_pci_module_exit(_fn)
+#define __adf_os_pci_module_exit(_fn)
/**
* initiallize the PCI driver structure
/**
* initiallize the PCI driver structure
@@
-69,10
+69,10
@@
* @param osdev
* @param offset
* @param val
* @param osdev
* @param offset
* @param val
- *
+ *
* @return int
*/
* @return int
*/
-static inline int
+static inline int
__adf_os_pci_config_read8(adf_os_device_t osdev, int offset, a_uint8_t *val)
{
(*val) = wlan_pci_config_read(offset, 1);
__adf_os_pci_config_read8(adf_os_device_t osdev, int offset, a_uint8_t *val)
{
(*val) = wlan_pci_config_read(offset, 1);
@@
-82,39
+82,39
@@
__adf_os_pci_config_read8(adf_os_device_t osdev, int offset, a_uint8_t *val)
*/
}
*/
}
-static inline int
+static inline int
__adf_os_pci_config_write8(adf_os_device_t osdev, int offset, a_uint8_t val)
{
wlan_pci_config_write(offset, val, 1);
__adf_os_pci_config_write8(adf_os_device_t osdev, int offset, a_uint8_t val)
{
wlan_pci_config_write(offset, val, 1);
- return 0;
+ return 0;
}
}
-static inline int
+static inline int
__adf_os_pci_config_read16(adf_os_device_t osdev, int offset, a_uint16_t *val)
{
(*val) = wlan_pci_config_read(offset, 2);
return 0;
}
__adf_os_pci_config_read16(adf_os_device_t osdev, int offset, a_uint16_t *val)
{
(*val) = wlan_pci_config_read(offset, 2);
return 0;
}
-static inline int
+static inline int
__adf_os_pci_config_write16(adf_os_device_t osdev, int offset, a_uint16_t val)
{
wlan_pci_config_write(offset, val, 2);
__adf_os_pci_config_write16(adf_os_device_t osdev, int offset, a_uint16_t val)
{
wlan_pci_config_write(offset, val, 2);
- return 0;
+ return 0;
}
}
-static inline int
+static inline int
__adf_os_pci_config_read32(adf_os_device_t osdev, int offset, a_uint32_t *val)
{
(*val) = wlan_pci_config_read(offset, 4);
return 0;
}
__adf_os_pci_config_read32(adf_os_device_t osdev, int offset, a_uint32_t *val)
{
(*val) = wlan_pci_config_read(offset, 4);
return 0;
}
-static inline int
+static inline int
__adf_os_pci_config_write32(adf_os_device_t osdev, int offset, a_uint32_t val)
{
wlan_pci_config_write(offset, val, 4);
__adf_os_pci_config_write32(adf_os_device_t osdev, int offset, a_uint32_t val)
{
wlan_pci_config_write(offset, val, 4);
- return 0;
+ return 0;
}
#endif
}
#endif