Skip to content

Commit

Permalink
um: switch to use of drivers/Kconfig
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <[email protected]>
Signed-off-by: Richard Weinberger <[email protected]>
  • Loading branch information
Al Viro authored and richardweinberger committed Nov 2, 2011
1 parent c039aff commit 3369465
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 33 deletions.
23 changes: 1 addition & 22 deletions arch/um/Kconfig.rest
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,14 @@ source "init/Kconfig"

source "kernel/Kconfig.freezer"

source "drivers/block/Kconfig"

source "arch/um/Kconfig.char"

source "drivers/base/Kconfig"
source "drivers/Kconfig"

source "net/Kconfig"

source "arch/um/Kconfig.net"

source "drivers/net/Kconfig"

source "drivers/connector/Kconfig"

source "fs/Kconfig"

source "security/Kconfig"
Expand All @@ -24,19 +18,4 @@ source "crypto/Kconfig"

source "lib/Kconfig"

source "drivers/scsi/Kconfig"

source "drivers/md/Kconfig"

if BROKEN
source "drivers/mtd/Kconfig"
endif

source "drivers/leds/Kconfig"

#This is just to shut up some Kconfig warnings, so no prompt.
config INPUT
tristate
default n

source "arch/um/Kconfig.debug"
6 changes: 3 additions & 3 deletions drivers/char/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ if RTC_LIB=n
config RTC
tristate "Enhanced Real Time Clock Support (legacy PC RTC driver)"
depends on !PPC && !PARISC && !IA64 && !M68K && !SPARC && !FRV \
&& !ARM && !SUPERH && !S390 && !AVR32 && !BLACKFIN
&& !ARM && !SUPERH && !S390 && !AVR32 && !BLACKFIN && !UML
---help---
If you say Y here and create a character special file /dev/rtc with
major number 10 and minor number 135 using mknod ("man mknod"), you
Expand Down Expand Up @@ -346,7 +346,7 @@ config JS_RTC

config GEN_RTC
tristate "Generic /dev/rtc emulation"
depends on RTC!=y && !IA64 && !ARM && !M32R && !MIPS && !SPARC && !FRV && !S390 && !SUPERH && !AVR32 && !BLACKFIN
depends on RTC!=y && !IA64 && !ARM && !M32R && !MIPS && !SPARC && !FRV && !S390 && !SUPERH && !AVR32 && !BLACKFIN && !UML
---help---
If you say Y here and create a character special file /dev/rtc with
major number 10 and minor number 135 using mknod ("man mknod"), you
Expand Down Expand Up @@ -490,7 +490,7 @@ config SCx200_GPIO

config PC8736x_GPIO
tristate "NatSemi PC8736x GPIO Support"
depends on X86_32
depends on X86_32 && !UML
default SCx200_GPIO # mostly N
select NSC_GPIO # needed for support routines
help
Expand Down
2 changes: 1 addition & 1 deletion drivers/char/ttyprintk.c
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ static const struct tty_operations ttyprintk_ops = {
.ioctl = tpk_ioctl,
};

struct tty_port_operations null_ops = { };
static struct tty_port_operations null_ops = { };

static struct tty_driver *ttyprintk_driver;

Expand Down
2 changes: 1 addition & 1 deletion drivers/input/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#

menu "Input device support"
depends on !S390
depends on !S390 && !UML

config INPUT
tristate "Generic input layer (needed for keyboard, mouse, ...)" if EXPERT
Expand Down
2 changes: 1 addition & 1 deletion drivers/isdn/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
menuconfig ISDN
bool "ISDN support"
depends on NET
depends on !S390
depends on !S390 && !UML
---help---
ISDN ("Integrated Services Digital Network", called RNIS in France)
is a fully digital telephone service that can be used for voice and
Expand Down
1 change: 1 addition & 0 deletions drivers/power/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ config BATTERY_DS2760

config BATTERY_DS2780
tristate "DS2780 battery driver"
depends on HAS_IOMEM
select W1
select W1_SLAVE_DS2780
help
Expand Down
2 changes: 1 addition & 1 deletion drivers/rtc/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ config RTC_LIB
menuconfig RTC_CLASS
bool "Real Time Clock"
default n
depends on !S390
depends on !S390 && !UML
select RTC_LIB
help
Generic RTC class support. If you say yes here, you will
Expand Down
2 changes: 1 addition & 1 deletion drivers/tty/Kconfig
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
config VT
bool "Virtual terminal" if EXPERT
depends on !S390
depends on !S390 && !UML
select INPUT
default y
---help---
Expand Down
2 changes: 1 addition & 1 deletion drivers/watchdog/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -726,7 +726,7 @@ config SBC8360_WDT

config SBC7240_WDT
tristate "SBC Nano 7240 Watchdog Timer"
depends on X86_32
depends on X86_32 && !UML
---help---
This is the driver for the hardware watchdog found on the IEI
single board computers EPIC Nano 7240 (and likely others). This
Expand Down
2 changes: 1 addition & 1 deletion security/integrity/ima/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ config IMA
select CRYPTO_HMAC
select CRYPTO_MD5
select CRYPTO_SHA1
select TCG_TPM if !S390
select TCG_TPM if !S390 && !UML
select TCG_TIS if TCG_TPM
help
The Trusted Computing Group(TCG) runtime Integrity
Expand Down
2 changes: 1 addition & 1 deletion sound/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ config SOUND_OSS_CORE_PRECLAIM

source "sound/oss/dmasound/Kconfig"

if !M68K
if !M68K && !UML

menuconfig SND
tristate "Advanced Linux Sound Architecture"
Expand Down

0 comments on commit 3369465

Please sign in to comment.