]> Git Repo - linux.git/commitdiff
net: phy: aquantia: add missing include guards
authorBartosz Golaszewski <[email protected]>
Mon, 1 Jul 2024 08:03:22 +0000 (10:03 +0200)
committerJakub Kicinski <[email protected]>
Wed, 3 Jul 2024 01:17:33 +0000 (18:17 -0700)
The header is missing the include guards so add them.

Reviewed-by: Andrew Lunn <[email protected]>
Fixes: fb470f70fea7 ("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]>
drivers/net/phy/aquantia/aquantia.h

index 1c19ae74ad2b4517bb24af7536c4ed16ce4bea22..4830b25e6c7d353fde75c89a93dea7bc9c1b4f0d 100644 (file)
@@ -6,6 +6,9 @@
  * Author: Heiner Kallweit <[email protected]>
  */
 
+#ifndef AQUANTIA_H
+#define AQUANTIA_H
+
 #include <linux/device.h>
 #include <linux/phy.h>
 
@@ -120,3 +123,5 @@ static inline int aqr_hwmon_probe(struct phy_device *phydev) { return 0; }
 #endif
 
 int aqr_firmware_load(struct phy_device *phydev);
+
+#endif /* AQUANTIA_H */
This page took 0.059102 seconds and 4 git commands to generate.