Message ID | 49E2CDEA.4080409@samsung.com (mailing list archive) |
---|---|
State | RFC |
Headers | show |
> I'm not sure about the consequences in case of renaming the radio-si470x > module. But it would be consequent to add the appendix -usb and -i2c to > the current name. > > I applied the patch as follows: Okay, your patch is better. Thanks. I will post the i2c part soon after testing. -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
On 4/13/2009 7:31 PM, Joonyoung Shim wrote: >> I'm not sure about the consequences in case of renaming the radio-si470x >> module. But it would be consequent to add the appendix -usb and -i2c to >> the current name. >> >> I applied the patch as follows: > > Okay, your patch is better. > Thanks. > > I will post the i2c part soon after testing. I have some problem. There is codes for usb in radio-si470x-common.c file. Hrm, if it cannot be removed, maybe it seems to seperate using ifdef. What do you think about this? > -- > To unsubscribe from this list: send the line "unsubscribe linux-media" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
diff -r 43d455adb02c linux/drivers/media/radio/Makefile --- a/linux/drivers/media/radio/Makefile Sun Apr 12 22:51:40 2009 +0200 +++ b/linux/drivers/media/radio/Makefile Mon Apr 13 14:31:05 2009 +0900 @@ -17,7 +17,7 @@ obj-$(CONFIG_RADIO_TRUST) += radio-trust.o obj-$(CONFIG_RADIO_MAESTRO) += radio-maestro.o obj-$(CONFIG_USB_DSBR) += dsbr100.o -obj-$(CONFIG_USB_SI470X) += si470x/ +obj-$(CONFIG_RADIO_SI470X) += si470x/ obj-$(CONFIG_USB_MR800) += radio-mr800.o obj-$(CONFIG_RADIO_TEA5764) += radio-tea5764.o diff -r 43d455adb02c linux/drivers/media/radio/si470x/Kconfig --- a/linux/drivers/media/radio/si470x/Kconfig Sun Apr 12 22:51:40 2009 +0200 +++ b/linux/drivers/media/radio/si470x/Kconfig Mon Apr 13 14:31:05 2009 +0900 @@ -1,6 +1,10 @@ +config RADIO_SI470X + tristate "Silicon Labs Si470x FM Radio Receiver support" + depends on VIDEO_V4L2 + config USB_SI470X tristate "Silicon Labs Si470x FM Radio Receiver support with USB" - depends on USB && VIDEO_V4L2 + depends on USB && RADIO_SI470X ---help--- This is a driver for USB devices with the Silicon Labs SI470x chip. Currently these devices are known to work: @@ -25,7 +29,7 @@ config I2C_SI470X tristate "Silicon Labs Si470x FM Radio Receiver support with I2C" - depends on I2C && VIDEO_V4L2 + depends on I2C && RADIO_SI470X ---help--- This is a driver for I2C devices with the Silicon Labs SI470x chip. diff -r 43d455adb02c linux/drivers/media/radio/si470x/Makefile --- a/linux/drivers/media/radio/si470x/Makefile Sun Apr 12 22:51:40 2009 +0200 +++ b/linux/drivers/media/radio/si470x/Makefile Mon Apr 13 14:31:05 2009 +0900 @@ -2,8 +2,8 @@ # Makefile for radios with Silicon Labs Si470x FM Radio Receivers # -radio-si470x-objs := radio-si470x-usb.o radio-si470x-common.o -radio-si470x-i2c-objs := radio-si470x-i2c.o radio-si470x-common.o +si470x-usb-objs := radio-si470x-usb.o radio-si470x-common.o +si470x-i2c-objs := radio-si470x-i2c.o radio-si470x-common.o -obj-$(CONFIG_USB_SI470X) += radio-si470x.o -obj-$(CONFIG_I2C_SI470X) += radio-si470x-i2c.o +obj-$(CONFIG_USB_SI470X) += si470x-usb.o +obj-$(CONFIG_I2C_SI470X) += si470x-i2c.o