diff options
author | Bartosz Golaszewski <bartosz.golaszewski@linaro.org> | 2024-07-01 11:03:22 +0300 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2024-07-03 04:17:33 +0300 |
commit | 219343755eae6536d1fcb9184e6253ade4906aac (patch) | |
tree | a4e69273a53b8f57be01ccb861b092db57bd41e4 /drivers | |
parent | 8905a2c7d39b921b8a62bcf80da0f8c45ec0e764 (diff) | |
download | linux-219343755eae6536d1fcb9184e6253ade4906aac.tar.xz |
net: phy: aquantia: add missing include guards
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/phy/aquantia/aquantia.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/net/phy/aquantia/aquantia.h b/drivers/net/phy/aquantia/aquantia.h index 1c19ae74ad2b..4830b25e6c7d 100644 --- a/drivers/net/phy/aquantia/aquantia.h +++ b/drivers/net/phy/aquantia/aquantia.h @@ -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 */ |