From: Randy Dunlap Date: Wed, 11 Aug 2010 21:17:30 +0000 (-0700) Subject: pc8736x_gpio: depends on X86_32 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7b958090458e99456b8c1a0f644923b6b9fdd358;p=GitHub%2FLineageOS%2Fandroid_kernel_samsung_universal7580.git 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 Cc: Jordan Crouse Cc: Jim Cromie Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- diff --git a/drivers/char/Kconfig b/drivers/char/Kconfig index 7cfcc629a7f..3d44ec724c1 100644 --- a/drivers/char/Kconfig +++ b/drivers/char/Kconfig @@ -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