Redefine the removed __dev* for now
The __dev* directives and functions were removed in 3.8, as they are no-ops. We still have use of them for older versions, thus we should define them (as noops) if they don't exist. Signed-off-by: Tzafrir Cohen <tzafrir.cohen@xorcom.com>
This commit is contained in:
parent
8bf0434896
commit
66a300f338
@ -101,6 +101,14 @@
|
|||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
/* __dev* were removed in 3.8. They still have effect in 2.6.18. */
|
||||||
|
#ifndef __devinit
|
||||||
|
# define __devinit
|
||||||
|
# define __devinitdata
|
||||||
|
# define __devexit
|
||||||
|
# define __devexit_p(x) x
|
||||||
|
#endif
|
||||||
|
|
||||||
/*! Default chunk size for conferences and such -- static right now, might make
|
/*! Default chunk size for conferences and such -- static right now, might make
|
||||||
variable sometime. 8 samples = 1 ms = most frequent service interval possible
|
variable sometime. 8 samples = 1 ms = most frequent service interval possible
|
||||||
for a USB device */
|
for a USB device */
|
||||||
|
Loading…
Reference in New Issue
Block a user