Skip to content

Commit

Permalink
[media] as102-fe: make it an independent driver
Browse files Browse the repository at this point in the history
Move as102-fe to dvb-frontends directory and make it an
independent driver.

Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
  • Loading branch information
Mauro Carvalho Chehab committed Aug 21, 2014
1 parent 47f7912 commit dcae778
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 6 deletions.
5 changes: 5 additions & 0 deletions drivers/media/dvb-frontends/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,11 @@ config DVB_SI2168
help
Say Y when you want to support this frontend.

config DVB_AS102_FE
tristate
depends on DVB_CORE
default DVB_AS102

comment "DVB-C (cable) frontends"
depends on DVB_CORE

Expand Down
2 changes: 1 addition & 1 deletion drivers/media/dvb-frontends/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -113,4 +113,4 @@ obj-$(CONFIG_DVB_RTL2832) += rtl2832.o
obj-$(CONFIG_DVB_RTL2832_SDR) += rtl2832_sdr.o
obj-$(CONFIG_DVB_M88RS2000) += m88rs2000.o
obj-$(CONFIG_DVB_AF9033) += af9033.o

obj-$(CONFIG_DVB_AS102_FE) += as102_fe.o
Original file line number Diff line number Diff line change
Expand Up @@ -464,3 +464,7 @@ struct dvb_frontend *as102_attach(const char *name,

}
EXPORT_SYMBOL_GPL(as102_attach);

MODULE_DESCRIPTION("as102-fe");
MODULE_LICENSE("GPL");
MODULE_AUTHOR("Pierrick Hascoet <pierrick.hascoet@abilis.com>");
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* GNU General Public License for more details.
*/

#include "as10x_types.h"
#include "as102_fe_types.h"

struct as102_fe_ops {
int (*set_tune)(void *priv, struct as10x_tune_args *tune_args);
Expand Down
File renamed without changes.
3 changes: 2 additions & 1 deletion drivers/media/usb/as102/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
dvb-as102-objs := as102_drv.o as102_fw.o as10x_cmd.o as10x_cmd_stream.o \
as102_fe.o as102_usb_drv.o as10x_cmd_cfg.o
as102_usb_drv.o as10x_cmd_cfg.o

obj-$(CONFIG_DVB_AS102) += dvb-as102.o

ccflags-y += -Idrivers/media/dvb-core
ccflags-y += -Idrivers/media/dvb-frontends
1 change: 0 additions & 1 deletion drivers/media/usb/as102/as10x_cmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@

#include <linux/kernel.h>
#include "as102_drv.h"
#include "as10x_types.h"
#include "as10x_cmd.h"

/**
Expand Down
2 changes: 1 addition & 1 deletion drivers/media/usb/as102/as10x_cmd.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

#include <linux/kernel.h>

#include "as10x_types.h"
#include "as102_fe_types.h"

/*********************************/
/* MACRO DEFINITIONS */
Expand Down
1 change: 0 additions & 1 deletion drivers/media/usb/as102/as10x_cmd_cfg.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@

#include <linux/kernel.h>
#include "as102_drv.h"
#include "as10x_types.h"
#include "as10x_cmd.h"

/***************************/
Expand Down

0 comments on commit dcae778

Please sign in to comment.