Skip to content

Commit

Permalink
net: via/Kconfig: replace USE_OF with OF_???
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Antonio Borneo authored and David S. Miller committed Jun 21, 2015
1 parent ecdd140 commit b7d3282
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/net/ethernet/via/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -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---
Expand All @@ -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
Expand Down

0 comments on commit b7d3282

Please sign in to comment.