summaryrefslogtreecommitdiff
path: root/include/linux/dvb/net.h
diff options
context:
space:
mode:
authorMichael Hunold <hunold@convergence.de>2003-06-22 22:47:58 -0700
committerLinus Torvalds <torvalds@home.transmeta.com>2003-06-22 22:47:58 -0700
commit33e9942ccbf8ecbb35f4eb576a1f650b15ba18a9 (patch)
treeab1ce88b258146c3cfb6a0f32efd05001c882052 /include/linux/dvb/net.h
parent03ff595c8ec246af6d8b23bacaa763461f9b3b91 (diff)
[PATCH] update dvb subsystem core
- update dvb subsystem core - switched from user-land types like __u8 to u8 and uint16_t to u16 this makes the patch rather large. - updated the dvr (digital videorecording) facility - renamed some structures, like "struct dmxdev_s" to "struct dmxdev" - introduced dvb_functions.[ch], where some linux-kernel specific functions are encapsulated. by this, the dvb subsystem stays quite independent from deeper linux kernel functions. - moved dvb_usercopy() to dvb_functions.c -- this is essentially video_usercopy() which should be generic_usercopy() instead... - Made the dvb-core in dvbdev.c work with devfs again. - remove all typedefs from structs - remove all typedefs from enums
Diffstat (limited to 'include/linux/dvb/net.h')
-rw-r--r--include/linux/dvb/net.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/include/linux/dvb/net.h b/include/linux/dvb/net.h
index 5bf03b81e668..4b8fa5177d43 100644
--- a/include/linux/dvb/net.h
+++ b/include/linux/dvb/net.h
@@ -24,16 +24,12 @@
#ifndef _DVBNET_H_
#define _DVBNET_H_
-#ifdef __KERNEL__
-#include <linux/types.h>
-#else
-#include <stdint.h>
-#endif
+#include <asm/types.h>
struct dvb_net_if {
- uint16_t pid;
- uint16_t if_num;
+ __u16 pid;
+ __u16 if_num;
};