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:
Tzafrir Cohen 2013-01-28 15:57:34 +02:00 committed by Russ Meyerriecks
parent 41639330a5
commit fcaec330e5

View File

@ -120,6 +120,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 */