aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/include/linux/sungem_phy.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/sungem_phy.h')
-rw-r--r--include/linux/sungem_phy.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/linux/sungem_phy.h b/include/linux/sungem_phy.h
index 3a11fa41a131..eecc7eb63bfb 100644
--- a/include/linux/sungem_phy.h
+++ b/include/linux/sungem_phy.h
@@ -2,6 +2,8 @@
#ifndef __SUNGEM_PHY_H__
#define __SUNGEM_PHY_H__
+#include <linux/types.h>
+
struct mii_phy;
/* Operations supported by any kind of PHY */
@@ -38,7 +40,7 @@ enum {
/* An instance of a PHY, partially borrowed from mii_if_info */
struct mii_phy
{
- struct mii_phy_def* def;
+ const struct mii_phy_def *def;
u32 advertising;
int mii_id;