]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
net: phy: aquantia: add missing include guards
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 1 Jul 2024 08:03:22 +0000 (10:03 +0200)
committerJakub Kicinski <kuba@kernel.org>
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 <andrew@lunn.ch>
Fixes: fb470f70fea7 ("net: phy: aquantia: add hwmon support")
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Link: https://patch.msgid.link/20240701080322.9569-1-brgl@bgdev.pl
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/phy/aquantia/aquantia.h

index 1c19ae74ad2b4517bb24af7536c4ed16ce4bea22..4830b25e6c7d353fde75c89a93dea7bc9c1b4f0d 100644 (file)
@@ -6,6 +6,9 @@
  * Author: Heiner Kallweit <hkallweit1@gmail.com>
  */
 
+#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 */