diff options
author | Michael Hunold <devnull@localhost> | 2003-05-27 08:23:08 +0000 |
---|---|---|
committer | Michael Hunold <devnull@localhost> | 2003-05-27 08:23:08 +0000 |
commit | ad0373531b89bbe79715e18bc36f7660d1f2b882 (patch) | |
tree | cd52375fa4ae5a60a56d8da681eafe9081950188 /linux/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c | |
parent | c01ec848557e671b528c110a4e10b7ef48c1418a (diff) | |
download | mediapointer-dvb-s2-ad0373531b89bbe79715e18bc36f7660d1f2b882.tar.gz mediapointer-dvb-s2-ad0373531b89bbe79715e18bc36f7660d1f2b882.tar.bz2 |
Here comes a huge cleanup patch in order to get the sources into
"kernel shape":
I mainly changed all "typedef struct foo_s {...} foo_t"
to "struct foo {}". Please don't start a policy war, I know the pros
cons of typedefs and structures.
We should, however, stick to the coding rules of the kernel: typedefed
structs are only used for opaque data types, where the internal
representation is irrelevant and we have get()/set() functions for
accessing them (ie. spinlock_t)
Diffstat (limited to 'linux/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c')
-rw-r--r-- | linux/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c b/linux/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c index 1922128ae..07ca6d077 100644 --- a/linux/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c +++ b/linux/drivers/media/dvb/ttusb-budget/dvb-ttusb-budget.c @@ -69,8 +69,8 @@ static int debug = 1; */ struct ttusb { struct dvb_demux dvb_demux; - dmxdev_t dmxdev; - dvb_net_t dvbnet; + struct dmxdev dmxdev; + struct dvb_net dvbnet; /* our semaphore, for channel allocation/deallocation */ struct semaphore sem; |