|
This patch is a preceding work to add the i2c interface of si470x.
The si470x directory includes a common file and usb specific file and
header file.
The part unrelated with usb interface and i2c interface exists in
radio-si470x-common.c file, and The usb specific part exists in
radio-si470x-usb.c file.
Signed-off-by: Joonyoung Shim <jy0922.shim@samsung.com>
Small changes, due to new include "linux/smp_lock.h".
Acked-by: Tobias Lorenz <tobias.lorenz@gmx.net>
---
linux/drivers/media/radio/Kconfig | 26 +-
linux/drivers/media/radio/Makefile | 2 +-
linux/drivers/media/radio/radio-si470x.c | 1870 --------------------
linux/drivers/media/radio/si470x/Kconfig | 24 +
linux/drivers/media/radio/si470x/Makefile | 7 +
.../media/radio/si470x/radio-si470x-common.c | 794 +++++++++
.../drivers/media/radio/si470x/radio-si470x-usb.c | 958 ++++++++++
linux/drivers/media/radio/si470x/radio-si470x.h | 202 +++
8 files changed, 1989 insertions(+), 1892 deletions(-)
delete mode 100644 linux/drivers/media/radio/radio-si470x.c
create mode 100644 linux/drivers/media/radio/si470x/Kconfig
create mode 100644 linux/drivers/media/radio/si470x/Makefile
create mode 100644 linux/drivers/media/radio/si470x/radio-si470x-common.c
create mode 100644 linux/drivers/media/radio/si470x/radio-si470x-usb.c
create mode 100644 linux/drivers/media/radio/si470x/radio-si470x.h
|