au0828.h (95a0c7c2d6cfde3fb5fdb713428ed0df4d6bdd58) | au0828.h (ac71484e89461a22d89ac84fcdc0235bf0a3e011) |
---|---|
1/* 2 * Driver for the Auvitek AU0828 USB bridge 3 * 4 * Copyright (c) 2008 Steven Toth <stoth@linuxtv.org> 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or --- 344 unchanged lines hidden (view full) --- 353/* ----------------------------------------------------------- */ 354/* au0828-dvb.c */ 355extern int au0828_dvb_register(struct au0828_dev *dev); 356extern void au0828_dvb_unregister(struct au0828_dev *dev); 357void au0828_dvb_suspend(struct au0828_dev *dev); 358void au0828_dvb_resume(struct au0828_dev *dev); 359 360/* au0828-vbi.c */ | 1/* 2 * Driver for the Auvitek AU0828 USB bridge 3 * 4 * Copyright (c) 2008 Steven Toth <stoth@linuxtv.org> 5 * 6 * This program is free software; you can redistribute it and/or modify 7 * it under the terms of the GNU General Public License as published by 8 * the Free Software Foundation; either version 2 of the License, or --- 344 unchanged lines hidden (view full) --- 353/* ----------------------------------------------------------- */ 354/* au0828-dvb.c */ 355extern int au0828_dvb_register(struct au0828_dev *dev); 356extern void au0828_dvb_unregister(struct au0828_dev *dev); 357void au0828_dvb_suspend(struct au0828_dev *dev); 358void au0828_dvb_resume(struct au0828_dev *dev); 359 360/* au0828-vbi.c */ |
361extern struct vb2_ops au0828_vbi_qops; | 361extern const struct vb2_ops au0828_vbi_qops; |
362 363#define dprintk(level, fmt, arg...)\ 364 do { if (au0828_debug & level)\ 365 printk(KERN_DEBUG pr_fmt(fmt), ## arg);\ 366 } while (0) 367 368/* au0828-input.c */ 369#ifdef CONFIG_VIDEO_AU0828_RC 370extern int au0828_rc_register(struct au0828_dev *dev); 371extern void au0828_rc_unregister(struct au0828_dev *dev); 372extern int au0828_rc_suspend(struct au0828_dev *dev); 373extern int au0828_rc_resume(struct au0828_dev *dev); 374#else 375static inline int au0828_rc_register(struct au0828_dev *dev) { return 0; } 376static inline void au0828_rc_unregister(struct au0828_dev *dev) { } 377static inline int au0828_rc_suspend(struct au0828_dev *dev) { return 0; } 378static inline int au0828_rc_resume(struct au0828_dev *dev) { return 0; } 379#endif | 362 363#define dprintk(level, fmt, arg...)\ 364 do { if (au0828_debug & level)\ 365 printk(KERN_DEBUG pr_fmt(fmt), ## arg);\ 366 } while (0) 367 368/* au0828-input.c */ 369#ifdef CONFIG_VIDEO_AU0828_RC 370extern int au0828_rc_register(struct au0828_dev *dev); 371extern void au0828_rc_unregister(struct au0828_dev *dev); 372extern int au0828_rc_suspend(struct au0828_dev *dev); 373extern int au0828_rc_resume(struct au0828_dev *dev); 374#else 375static inline int au0828_rc_register(struct au0828_dev *dev) { return 0; } 376static inline void au0828_rc_unregister(struct au0828_dev *dev) { } 377static inline int au0828_rc_suspend(struct au0828_dev *dev) { return 0; } 378static inline int au0828_rc_resume(struct au0828_dev *dev) { return 0; } 379#endif |