X-Git-Url: https://jxself.org/git/?p=linux-libre-firmware.git;a=blobdiff_plain;f=ath9k_htc%2Ftarget_firmware%2Fmagpie_fw_dev%2Ftarget%2Fadf%2Fadf_os_pci_pvt.h;h=4e7861f403d128c22220e4b1764d04a98468a670;hp=c4d6b703f26cd0e2ac87910c755955c6a44861b0;hb=1ba1a88647bfe113c885f985d6e383790dec2a1f;hpb=a2fe6b1f6253377c952c224d4ec9d55b196660ce diff --git a/ath9k_htc/target_firmware/magpie_fw_dev/target/adf/adf_os_pci_pvt.h b/ath9k_htc/target_firmware/magpie_fw_dev/target/adf/adf_os_pci_pvt.h index c4d6b70..4e7861f 100755 --- a/ath9k_htc/target_firmware/magpie_fw_dev/target/adf/adf_os_pci_pvt.h +++ b/ath9k_htc/target_firmware/magpie_fw_dev/target/adf/adf_os_pci_pvt.h @@ -47,7 +47,7 @@ /** * exit module macro */ -#define __adf_os_pci_module_exit(_fn) +#define __adf_os_pci_module_exit(_fn) /** * initiallize the PCI driver structure @@ -69,10 +69,10 @@ * @param osdev * @param offset * @param val - * + * * @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); @@ -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); - 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; } -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); - 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; } -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); - return 0; + return 0; } #endif