diff options
author | Michael Hunold <devnull@localhost> | 2004-05-03 16:36:28 +0000 |
---|---|---|
committer | Michael Hunold <devnull@localhost> | 2004-05-03 16:36:28 +0000 |
commit | e3818a98c2c013a059a973e1cac86a5f9462da64 (patch) | |
tree | 218bd34c79410eb5a044e849e2a0c53e82438140 /linux/include/media/saa7146.h | |
parent | 1a037915cb36b4ddcad3eed662e8302ca48e6b86 (diff) | |
download | mediapointer-dvb-s2-e3818a98c2c013a059a973e1cac86a5f9462da64.tar.gz mediapointer-dvb-s2-e3818a98c2c013a059a973e1cac86a5f9462da64.tar.bz2 |
- fix include file order in ttpci-driver
- convert tda1004x driver to kernel i2c, implement untested firmware loading
Diffstat (limited to 'linux/include/media/saa7146.h')
-rw-r--r-- | linux/include/media/saa7146.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/linux/include/media/saa7146.h b/linux/include/media/saa7146.h index 2e85e7b19..762736f43 100644 --- a/linux/include/media/saa7146.h +++ b/linux/include/media/saa7146.h @@ -16,8 +16,8 @@ #include <linux/mm.h> /* for vmalloc_to_page() */ #if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0) -static inline -int try_module_get(struct module *mod) +#ifndef __CRAP_H +static inline int try_module_get(struct module *mod) { if (!MOD_CAN_QUERY(mod)) return 0; @@ -29,7 +29,7 @@ int try_module_get(struct module *mod) #define iminor(xx) minor(xx->i_rdev) #define strlcpy strncpy #define i2c_get_adapdata(adapter) (struct saa7146_dev*)adapter->data; - +#endif #endif #define SAA7146_VERSION_CODE KERNEL_VERSION(0,5,0) |