On Fri, 16 May 2008, Adrian Bunk wrote:I suspect you're maning depends on !S390. This is not needed, since Multimedia devices is already dependent on HAS_IOMEM. There are several embedded V4L/DVB devices: Cellular phones, Set Top Boxes, surveillance systems, etc. I'm not sure if forcing the need for INPUT would be nice. Also, from time to time, people ask for a feature of allowing to disable the IR. Maybe the better would be to allow the user to explicitly select/unselect IR (for advanced users, and if INPUT). If IR is disabled, we may disable the corresponding <board>-input.c compilation. It doesn't seem hard to do this way, but it will require more time to bake a patch. Yes, but the committed patch is adding "depends on HOTPLUG" to all devices that selects FW_LOADER. If you want, feel free to change this to select, although I can't see any real gain. The open issue I see is to check the "depends on" for all symbols that are selected. I would remove the select inside VIDEO_IR, adding a separate select for VIDEO_IR_I2C. There's a problem on saa7134-input: It uses some symbols defined on ir-kbd-i2c: $ grep EXPORT ir-kbd-i2c.c EXPORT_SYMBOL_GPL(get_key_pinnacle_grey); EXPORT_SYMBOL_GPL(get_key_pinnacle_color); This breaks saa7134 compilation, if IR-I2C is not selected (or if it is a module, and saa7134 is 'Y). The proper fix here is to move those symbols to ir-keymaps.c, where the shared IR tables should be. Except for this, it is safe to allow the user to not compile VIDEO_IR_I2C, even for devices that has i2c IR's. If the module is not compiled, request_module() will fail, but everything else will work properly. True. Yes, but in is, in fact, 10K * lots of modules. The point is that the I2C modules behave very well if they aren't compiled. I can, for example, compile bttv with just tuner-simple, and nothing else. This will work with all bttv functionalities for two devices I have here. A third analog-only device will require TVAUDIO, otherwise, the audio chip won't be loaded, and audio decoder won't happen. So, the device will work only with video. I don't see much troubles with most of those I2C helper modules, since the vast majority depends only on I2C (only a few also depends on FW_LOADER). Cheers, Mauro --
| Greg KH | Og dreams of kernels |
| Jens Axboe | [PATCH 31/33] Fusion: sg chaining support |
| Arnd Bergmann | Re: finding your own dead "CONFIG_" variables |
| Mark Brown | [PATCH 2/2] Subject: natsemi: Allow users to disable workaround for DspCfg reset |
| Tony Breeds | [LGUEST] Look in object dir for .config |
git: | |
| Brian Downing | Re: Git in a Nutshell guide |
| John Benes | Re: master has some toys |
| Matthias Lederhofer | [PATCH 4/7] introduce GIT_WORK_TREE to specify th |
