[media] it913x: rename its tuner driver to tuner_it913x

There are three drivers with *it913x name on it, and they all
belong to the same device:
	a tuner, at it913x.c;
	a frontend: it913x-fe.c;
	a bridge: it913x.c, renamed to dvb_usb_it913x by the
building system.

This is confusing. Even more confusing are the two .c files with
the same name under different directories, with different contents
and different functions. So, prepend the tuner one.

This also breaks the out-of-tree compilation system.

Reported-by: Frederic Fays <frederic.fays@gmail.com>
Acked-by: Antti Palosaari <crope@iki.fi>
Reviewed-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
Mauro Carvalho Chehab 2013-04-16 19:43:06 -03:00
parent 76dea4cf52
commit 99ca5557ff
5 changed files with 4 additions and 4 deletions

View File

@ -34,7 +34,7 @@ obj-$(CONFIG_MEDIA_TUNER_TUA9001) += tua9001.o
obj-$(CONFIG_MEDIA_TUNER_FC0011) += fc0011.o obj-$(CONFIG_MEDIA_TUNER_FC0011) += fc0011.o
obj-$(CONFIG_MEDIA_TUNER_FC0012) += fc0012.o obj-$(CONFIG_MEDIA_TUNER_FC0012) += fc0012.o
obj-$(CONFIG_MEDIA_TUNER_FC0013) += fc0013.o obj-$(CONFIG_MEDIA_TUNER_FC0013) += fc0013.o
obj-$(CONFIG_MEDIA_TUNER_IT913X) += it913x.o obj-$(CONFIG_MEDIA_TUNER_IT913X) += tuner_it913x.o
ccflags-y += -I$(srctree)/drivers/media/dvb-core ccflags-y += -I$(srctree)/drivers/media/dvb-core
ccflags-y += -I$(srctree)/drivers/media/dvb-frontends ccflags-y += -I$(srctree)/drivers/media/dvb-frontends

View File

@ -20,7 +20,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.= * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.=
*/ */
#include "it913x_priv.h" #include "tuner_it913x_priv.h"
struct it913x_state { struct it913x_state {
struct i2c_adapter *i2c_adap; struct i2c_adapter *i2c_adap;

View File

@ -23,7 +23,7 @@
#ifndef IT913X_PRIV_H #ifndef IT913X_PRIV_H
#define IT913X_PRIV_H #define IT913X_PRIV_H
#include "it913x.h" #include "tuner_it913x.h"
#include "af9033.h" #include "af9033.h"
#define PRO_LINK 0x0 #define PRO_LINK 0x0

View File

@ -30,7 +30,7 @@
#include "mxl5007t.h" #include "mxl5007t.h"
#include "tda18218.h" #include "tda18218.h"
#include "fc2580.h" #include "fc2580.h"
#include "it913x.h" #include "tuner_it913x.h"
struct reg_val { struct reg_val {
u32 reg; u32 reg;