kernel/generic: add a few missing kernel config symbols
[openwrt/svn-archive/archive.git] / target / linux / generic / patches-3.3 / 726-phy_rtl8366.patch
index fee8b7886054d48b18edb418d15e21dc787d4035..d258e4b56441de62bdac2398d8d7a9c1bf7aa14d 100644 (file)
@@ -1,6 +1,6 @@
 --- a/drivers/net/phy/Kconfig
 +++ b/drivers/net/phy/Kconfig
-@@ -168,6 +168,31 @@ config MDIO_OCTEON
+@@ -168,6 +168,30 @@ config MDIO_OCTEON
  
          If in doubt, say Y.
  
 +
 +if RTL8366_SMI
 +
++config RTL8366_SMI_DEBUG_FS
++      bool "RTL8366 SMI interface debugfs support"
++        depends on DEBUG_FS
++        default n
++
 +config RTL8366S_PHY
 +      tristate "Driver for the Realtek RTL8366S switch"
 +      select SWCONFIG
 +      tristate "Driver for the Realtek RTL8366RB switch"
 +      select SWCONFIG
 +
-+config RTL8366S_PHY_DEBUG_FS
-+      bool "RTL8366 switch driver DEBUG_FS support"
-+      depends on RTL8366S_PHY || RTL8366RB_PHY
-+      depends on DEBUG_FS
-+      default n
-+
 +endif # RTL8366_SMI
 +
  endif # PHYLIB