Skip to contentSkip to conversation

net: phy: aquantia: add missing include guards

PATCH RESEND Applied Bartosz Golaszewski 2 participants 2 messages Jul 1, 2024 – Jul 3, 2024

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH RESEND v2 1/1 net: phy: aquantia: add missing include guards

From: Bartosz Golaszewski <[email protected]>

The header is missing the include guards so add them.

Fixes fb470f70fea7 ("net: phy: aquantia: add hwmon support")

---
Changes since v1:
- rebased on top of net/main

 drivers/net/phy/aquantia/aquantia.h | 5 +++++
 1 file changed, 5 insertions(+)
drivers/net/phy/aquantia/aquantia.h +5 -0
index 1c19ae74ad2b..4830b25e6c7d 100644
@@ -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 */
Signature · 1 line
2.43.0
#1 lore raw
This patch was applied to netdev/net.git (main) by Jakub Kicinski <[email protected]>:

Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski <[email protected]>:

Quoted 9 lines · On Mon, 1 Jul 2024 10:03:22 +0200 you wrote:

From: Bartosz Golaszewski <[email protected]>

The header is missing the include guards so add them.

Fixes fb470f70fea7 ("net: phy: aquantia: add hwmon support")

[...]

Here is the summary with links:
- [RESEND,net,v2] net: phy: aquantia: add missing include guards

    https://git.kernel.org/netdev/net/c/219343755eae

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html