[RESEND PATCH net] net: phy: aquantia: add missing include guards

From: Bartosz Golaszewski
Date: Thu Jun 27 2024 - 06:59:14 EST


From: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>

The header is missing the include guards so add them.

Reviewed-by: Andrew Lunn <andrew@xxxxxxx>
Fixes: fb470f70fea7 ("net: phy: aquantia: add hwmon support")
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@xxxxxxxxxx>
---
Added the Fixes: tag and resending separately as a backportable fix.

drivers/net/phy/aquantia/aquantia.h | 5 +++++
1 file changed, 5 insertions(+)

diff --git a/drivers/net/phy/aquantia/aquantia.h b/drivers/net/phy/aquantia/aquantia.h
index c0e1fd9d7152..b8502793962e 100644
--- a/drivers/net/phy/aquantia/aquantia.h
+++ b/drivers/net/phy/aquantia/aquantia.h
@@ -6,6 +6,9 @@
* Author: Heiner Kallweit <hkallweit1@xxxxxxxxx>
*/

+#ifndef AQUANTIA_H
+#define AQUANTIA_H
+
#include <linux/device.h>
#include <linux/phy.h>

@@ -198,3 +201,5 @@ int aqr_phy_led_hw_control_set(struct phy_device *phydev, u8 index,
int aqr_phy_led_active_low_set(struct phy_device *phydev, int index, bool enable);
int aqr_phy_led_polarity_set(struct phy_device *phydev, int index,
unsigned long modes);
+
+#endif /* AQUANTIA_H */
--
2.43.0