Skip to content

Commit 2193437

Browse files
Bartosz Golaszewskikuba-moo
Bartosz Golaszewski
authored andcommitted
net: phy: aquantia: add missing include guards
The header is missing the include guards so add them. Reviewed-by: Andrew Lunn <[email protected]> Fixes: fb470f7 ("net: phy: aquantia: add hwmon support") Signed-off-by: Bartosz Golaszewski <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
1 parent 8905a2c commit 2193437

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

drivers/net/phy/aquantia/aquantia.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
* Author: Heiner Kallweit <[email protected]>
77
*/
88

9+
#ifndef AQUANTIA_H
10+
#define AQUANTIA_H
11+
912
#include <linux/device.h>
1013
#include <linux/phy.h>
1114

@@ -120,3 +123,5 @@ static inline int aqr_hwmon_probe(struct phy_device *phydev) { return 0; }
120123
#endif
121124

122125
int aqr_firmware_load(struct phy_device *phydev);
126+
127+
#endif /* AQUANTIA_H */

0 commit comments

Comments
 (0)