Skip to content

Commit

Permalink
pc8736x_gpio: depends on X86_32
Browse files Browse the repository at this point in the history
Fix kconfig dependency warning for PC8736x_GPIO by restricting it to
X86_32.

  warning: (SCx200_GPIO && SCx200 || PC8736x_GPIO && X86) selects NSC_GPIO which has unmet direct dependencies (X86_32)

NSC_GPIO is X86_32 only.  The other driver (SCx200_GPIO) that selects
NSC_GPIO is X86_32 only (indirectly, since SCx200 depends on X86_32), so
limit this driver also.

Signed-off-by: Randy Dunlap <[email protected]>
Cc: Jordan Crouse <[email protected]>
Cc: Jim Cromie <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
rddunlap authored and torvalds committed Aug 12, 2010
1 parent 3c111a0 commit 7b95809
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/char/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -1002,7 +1002,7 @@ config SCx200_GPIO

config PC8736x_GPIO
tristate "NatSemi PC8736x GPIO Support"
depends on X86
depends on X86_32
default SCx200_GPIO # mostly N
select NSC_GPIO # needed for support routines
help
Expand Down

0 comments on commit 7b95809

Please sign in to comment.