]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
net: via/Kconfig: replace USE_OF with OF_???
authorAntonio Borneo <borneo.antonio@gmail.com>
Wed, 17 Jun 2015 11:42:31 +0000 (19:42 +0800)
committerDavid S. Miller <davem@davemloft.net>
Sun, 21 Jun 2015 17:05:05 +0000 (10:05 -0700)
USE_OF is used as intermediate Kconfig option by few
arch's (ARM, MIPS, Xtensa).
Replace instances of USE_OF outside of arch folders
with proper OF_???.

Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/via/Kconfig

index f66ddaee0c877f1620ad123fd9ef8402703aa1a6..ad7f51218ab5bde5ec62396b971c217b0f2264c0 100644 (file)
@@ -19,7 +19,7 @@ if NET_VENDOR_VIA
 
 config VIA_RHINE
        tristate "VIA Rhine support"
-       depends on (PCI || USE_OF)
+       depends on (PCI || OF_IRQ)
        select CRC32
        select MII
        ---help---
@@ -43,7 +43,7 @@ config VIA_RHINE_MMIO
 
 config VIA_VELOCITY
        tristate "VIA Velocity support"
-       depends on (PCI || USE_OF)
+       depends on (PCI || (OF_ADDRESS && OF_IRQ))
        select CRC32
        select CRC_CCITT
        select MII