Searched hist:e3469c5ea79d545f64817d16e89249ab9e680927 (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/net/wireless/mediatek/mt76/ ! |
H A D | mt76x02_mcu.h | e3469c5ea79d545f64817d16e89249ab9e680927 Sun Sep 30 22:57:15 UTC 2018 Colin Ian King <colin.king@canonical.com> mt76: fix header guard macro define names
The header guards that are #defined are different from those being checked. Fix this by #defining them to the correct name.
Fixes clang warnings: drivers/net/wireless/mediatek/mt76/mt76x02_mcu.h:17:9: warning: '__MT76x02_MCU_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
drivers/net/wireless/mediatek/mt76/mt76x02_usb.h:17:9: warning: '__MT76x02_USB_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
Fixes: 905db7470199 ("mt76: usb: move mt76x02 mcu code in mt76x02-usb module") Fixes: edaa580bc830 ("mt76: move shared mcu_calibrate routine in mt76x02-lib module") Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
|
H A D | mt76x02_usb.h | e3469c5ea79d545f64817d16e89249ab9e680927 Sun Sep 30 22:57:15 UTC 2018 Colin Ian King <colin.king@canonical.com> mt76: fix header guard macro define names
The header guards that are #defined are different from those being checked. Fix this by #defining them to the correct name.
Fixes clang warnings: drivers/net/wireless/mediatek/mt76/mt76x02_mcu.h:17:9: warning: '__MT76x02_MCU_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
drivers/net/wireless/mediatek/mt76/mt76x02_usb.h:17:9: warning: '__MT76x02_USB_H' is used as a header guard here, followed by #define of a different macro [-Wheader-guard]
Fixes: 905db7470199 ("mt76: usb: move mt76x02 mcu code in mt76x02-usb module") Fixes: edaa580bc830 ("mt76: move shared mcu_calibrate routine in mt76x02-lib module") Signed-off-by: Colin Ian King <colin.king@canonical.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
|