Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 377299
b: refs/heads/master
c: bb69ee2
h: refs/heads/master
i:
  377297: 1723d28
  377295: 16abb86
v: v3
  • Loading branch information
Mauro Carvalho Chehab committed Jun 20, 2013
1 parent 8696b33 commit cb151dd
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 24 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 5f63adbb4cb9f952a8daee97f89c8811da5fd68a
refs/heads/master: bb69ee27b96110c509d5b92c9ee541d81a821706
12 changes: 9 additions & 3 deletions trunk/drivers/media/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -136,9 +136,9 @@ config DVB_NET

# This Kconfig option is used by both PCI and USB drivers
config TTPCI_EEPROM
tristate
depends on I2C
default n
tristate
depends on I2C
default n

source "drivers/media/dvb-core/Kconfig"

Expand Down Expand Up @@ -189,6 +189,12 @@ config MEDIA_SUBDRV_AUTOSELECT

If unsure say Y.

config MEDIA_ATTACH
bool
depends on MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT || MEDIA_RADIO_SUPPORT
depends on MODULES
default MODULES

source "drivers/media/i2c/Kconfig"
source "drivers/media/tuners/Kconfig"
source "drivers/media/dvb-frontends/Kconfig"
Expand Down
20 changes: 0 additions & 20 deletions trunk/drivers/media/tuners/Kconfig
Original file line number Diff line number Diff line change
@@ -1,23 +1,3 @@
config MEDIA_ATTACH
bool "Load and attach frontend and tuner driver modules as needed"
depends on MEDIA_ANALOG_TV_SUPPORT || MEDIA_DIGITAL_TV_SUPPORT || MEDIA_RADIO_SUPPORT
depends on MODULES
default y if !EXPERT
help
Remove the static dependency of DVB card drivers on all
frontend modules for all possible card variants. Instead,
allow the card drivers to only load the frontend modules
they require.

Also, tuner module will automatically load a tuner driver
when needed, for analog mode.

This saves several KBytes of memory.

Note: You will need module-init-tools v3.2 or later for this feature.

If unsure say Y.

# Analog TV tuners, auto-loaded via tuner.ko
config MEDIA_TUNER
tristate
Expand Down

0 comments on commit cb151dd

Please sign in to comment.