Skip to content

Commit

Permalink
net: phy: aquantia: add missing include guards
Browse files Browse the repository at this point in the history
The header is missing the include guards so add them.

Reviewed-by: Andrew Lunn <[email protected]>
Fixes: fb470f7 ("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]>
  • Loading branch information
Bartosz Golaszewski authored and kuba-moo committed Jul 3, 2024
1 parent 8905a2c commit 2193437
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions drivers/net/phy/aquantia/aquantia.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
* Author: Heiner Kallweit <[email protected]>
*/

#ifndef AQUANTIA_H
#define AQUANTIA_H

#include <linux/device.h>
#include <linux/phy.h>

Expand Down Expand Up @@ -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 */

0 comments on commit 2193437

Please sign in to comment.