Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 241895
b: refs/heads/master
c: e68044e
h: refs/heads/master
i:
  241893: c198842
  241891: 7e3ea73
  241887: accb264
v: v3
  • Loading branch information
Hans Verkuil authored and Mauro Carvalho Chehab committed Mar 21, 2011
1 parent 6efad19 commit edf0611
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 332 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 7ee40aadabd59b6cab60835f0ef9cdbe385df438
refs/heads/master: e68044e2351ee937997c1e014fbbbe1c97b935cf
2 changes: 1 addition & 1 deletion trunk/drivers/media/dvb/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ comment "Supported SDMC DM1105 Adapters"
source "drivers/media/dvb/dm1105/Kconfig"

comment "Supported FireWire (IEEE 1394) Adapters"
depends on DVB_CORE && IEEE1394
depends on DVB_CORE && FIREWIRE
source "drivers/media/dvb/firewire/Kconfig"

comment "Supported Earthsoft PT1 Adapters"
Expand Down
8 changes: 1 addition & 7 deletions trunk/drivers/media/dvb/firewire/Kconfig
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
config DVB_FIREDTV
tristate "FireDTV and FloppyDTV"
depends on DVB_CORE && (FIREWIRE || IEEE1394)
depends on DVB_CORE && FIREWIRE
help
Support for DVB receivers from Digital Everywhere
which are connected via IEEE 1394 (FireWire).
Expand All @@ -13,12 +13,6 @@ config DVB_FIREDTV

if DVB_FIREDTV

config DVB_FIREDTV_FIREWIRE
def_bool FIREWIRE = y || (FIREWIRE = m && DVB_FIREDTV = m)

config DVB_FIREDTV_IEEE1394
def_bool IEEE1394 = y || (IEEE1394 = m && DVB_FIREDTV = m)

config DVB_FIREDTV_INPUT
def_bool INPUT = y || (INPUT = m && DVB_FIREDTV = m)

Expand Down
5 changes: 1 addition & 4 deletions trunk/drivers/media/dvb/firewire/Makefile
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
obj-$(CONFIG_DVB_FIREDTV) += firedtv.o

firedtv-y := firedtv-avc.o firedtv-ci.o firedtv-dvb.o firedtv-fe.o
firedtv-$(CONFIG_DVB_FIREDTV_FIREWIRE) += firedtv-fw.o
firedtv-$(CONFIG_DVB_FIREDTV_IEEE1394) += firedtv-1394.o
firedtv-y := firedtv-avc.o firedtv-ci.o firedtv-dvb.o firedtv-fe.o firedtv-fw.o
firedtv-$(CONFIG_DVB_FIREDTV_INPUT) += firedtv-rc.o

ccflags-y += -Idrivers/media/dvb/dvb-core
ccflags-$(CONFIG_DVB_FIREDTV_IEEE1394) += -Idrivers/ieee1394
300 changes: 0 additions & 300 deletions trunk/drivers/media/dvb/firewire/firedtv-1394.c

This file was deleted.

5 changes: 0 additions & 5 deletions trunk/drivers/media/dvb/firewire/firedtv-dvb.c
Original file line number Diff line number Diff line change
Expand Up @@ -351,16 +351,11 @@ static int __init fdtv_init(void)
if (ret < 0)
return ret;

ret = fdtv_1394_init();
if (ret < 0)
fdtv_fw_exit();

return ret;
}

static void __exit fdtv_exit(void)
{
fdtv_1394_exit();
fdtv_fw_exit();
}

Expand Down
14 changes: 0 additions & 14 deletions trunk/drivers/media/dvb/firewire/firedtv.h
Original file line number Diff line number Diff line change
Expand Up @@ -118,15 +118,6 @@ struct firedtv {
u8 avc_data[512];
};

/* firedtv-1394.c */
#ifdef CONFIG_DVB_FIREDTV_IEEE1394
int fdtv_1394_init(void);
void fdtv_1394_exit(void);
#else
static inline int fdtv_1394_init(void) { return 0; }
static inline void fdtv_1394_exit(void) {}
#endif

/* firedtv-avc.c */
int avc_recv(struct firedtv *fdtv, void *data, size_t length);
int avc_tuner_status(struct firedtv *fdtv, struct firedtv_tuner_status *stat);
Expand Down Expand Up @@ -170,13 +161,8 @@ extern const struct ieee1394_device_id fdtv_id_table[];
void fdtv_frontend_init(struct firedtv *fdtv);

/* firedtv-fw.c */
#ifdef CONFIG_DVB_FIREDTV_FIREWIRE
int fdtv_fw_init(void);
void fdtv_fw_exit(void);
#else
static inline int fdtv_fw_init(void) { return 0; }
static inline void fdtv_fw_exit(void) {}
#endif

/* firedtv-rc.c */
#ifdef CONFIG_DVB_FIREDTV_INPUT
Expand Down

0 comments on commit edf0611

Please sign in to comment.