diff options
author | Randy Dunlap <randy.dunlap@oracle.com> | 2010-08-11 17:17:30 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2010-08-12 11:43:29 -0400 |
commit | 7b958090458e99456b8c1a0f644923b6b9fdd358 (patch) | |
tree | 970c300fad07d25ab71365649f1e2fc6e4de0278 /drivers/char/Kconfig | |
parent | 3c111a071da260aa1e9cae3e882e2109c4e9bdfc (diff) |
pc8736x_gpio: depends on X86_32
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 <randy.dunlap@oracle.com>
Cc: Jordan Crouse <jordan.crouse@amd.com>
Cc: Jim Cromie <jim.cromie@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/char/Kconfig')
-rw-r--r-- | drivers/char/Kconfig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig index 7cfcc629a7fd..3d44ec724c17 100644 --- a/drivers/char/Kconfig +++ b/drivers/char/Kconfig | |||
@@ -1002,7 +1002,7 @@ config SCx200_GPIO | |||
1002 | 1002 | ||
1003 | config PC8736x_GPIO | 1003 | config PC8736x_GPIO |
1004 | tristate "NatSemi PC8736x GPIO Support" | 1004 | tristate "NatSemi PC8736x GPIO Support" |
1005 | depends on X86 | 1005 | depends on X86_32 |
1006 | default SCx200_GPIO # mostly N | 1006 | default SCx200_GPIO # mostly N |
1007 | select NSC_GPIO # needed for support routines | 1007 | select NSC_GPIO # needed for support routines |
1008 | help | 1008 | help |