[PATCH] staging: rtl8821ae: fix pointer coding style

Levente Kurusa levex at linux.com
Sat May 10 11:39:32 UTC 2014


Found by checkpatch.

Signed-off-by: Levente Kurusa <levex at linux.com>
---

 drivers/staging/rtl8821ae/pci.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/staging/rtl8821ae/pci.c b/drivers/staging/rtl8821ae/pci.c
index a562aa6..7bbaef7 100644
--- a/drivers/staging/rtl8821ae/pci.c
+++ b/drivers/staging/rtl8821ae/pci.c
@@ -392,7 +392,7 @@ static u8 _rtl_pci_get_pciehdr_offset(struct ieee80211_hw *hw)
 					     pcicfg_addr_port +
 					     (num4bytes << 2));
 		rtl_pci_raw_read_port_ushort(PCI_CONF_DATA,
-					     (u16*)&capability_hdr);
+					     (u16 *)&capability_hdr);
 		/* Found the PCI express capability. */
 		if (capability_hdr.capability_id ==
 		    PCI_CAPABILITY_ID_PCI_EXPRESS)
-- 
1.7.9.5



More information about the devel mailing list