mirror of
https://github.com/torvalds/linux.git
synced 2024-11-26 14:12:06 +00:00
staging: rtl8821ae: Fix C99 style comments in pci.c and pci.h
This patch fix C99 style comments in pci.c and pci.h Signed-off-by: Masanari Iida <standby24x7@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
977d68c320
commit
d7a078b827
@ -2428,13 +2428,13 @@ fail1:
|
||||
return -ENODEV;
|
||||
|
||||
}
|
||||
//EXPORT_SYMBOL(rtl_pci_probe);
|
||||
/* EXPORT_SYMBOL(rtl_pci_probe); */
|
||||
|
||||
struct ieee80211_hw *rtl_pci_get_hw_pointer(void)
|
||||
{
|
||||
return hw_export;
|
||||
}
|
||||
//EXPORT_SYMBOL(rtl_pci_get_hw_pointer);
|
||||
/* EXPORT_SYMBOL(rtl_pci_get_hw_pointer); */
|
||||
|
||||
void rtl_pci_disconnect(struct pci_dev *pdev)
|
||||
{
|
||||
@ -2491,7 +2491,7 @@ void rtl_pci_disconnect(struct pci_dev *pdev)
|
||||
|
||||
ieee80211_free_hw(hw);
|
||||
}
|
||||
//EXPORT_SYMBOL(rtl_pci_disconnect);
|
||||
/* EXPORT_SYMBOL(rtl_pci_disconnect); */
|
||||
|
||||
/***************************************
|
||||
kernel pci power state define:
|
||||
@ -2519,7 +2519,7 @@ int rtl_pci_suspend(struct device *dev)
|
||||
|
||||
return 0;
|
||||
}
|
||||
//EXPORT_SYMBOL(rtl_pci_suspend);
|
||||
/* EXPORT_SYMBOL(rtl_pci_suspend); */
|
||||
|
||||
int rtl_pci_resume(struct device *dev)
|
||||
{
|
||||
@ -2532,7 +2532,7 @@ int rtl_pci_resume(struct device *dev)
|
||||
|
||||
return 0;
|
||||
}
|
||||
//EXPORT_SYMBOL(rtl_pci_resume);
|
||||
/* EXPORT_SYMBOL(rtl_pci_resume); */
|
||||
|
||||
struct rtl_intf_ops rtl_pci_ops = {
|
||||
.read_efuse_byte = read_efuse_byte,
|
||||
|
@ -148,11 +148,11 @@ struct rtl_pci_capabilities_header {
|
||||
* RX wifi info == RX descriptor in old flow */
|
||||
struct rtl_tx_buffer_desc {
|
||||
#if (RTL8192EE_SEG_NUM == 2)
|
||||
u32 dword[2*(DMA_IS_64BIT + 1)*8]; //seg = 8
|
||||
u32 dword[2*(DMA_IS_64BIT + 1)*8]; /* seg = 8 */
|
||||
#elif (RTL8192EE_SEG_NUM == 1)
|
||||
u32 dword[2*(DMA_IS_64BIT + 1)*4]; //seg = 4
|
||||
u32 dword[2*(DMA_IS_64BIT + 1)*4]; /* seg = 4 */
|
||||
#elif (RTL8192EE_SEG_NUM == 0)
|
||||
u32 dword[2*(DMA_IS_64BIT + 1)*2]; //seg = 2
|
||||
u32 dword[2*(DMA_IS_64BIT + 1)*2]; /* seg = 2 */
|
||||
#endif
|
||||
} __packed;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user