diff options
author | Trent Piepho <xyzzy@speakeasy.org> | 2007-10-15 17:40:48 -0700 |
---|---|---|
committer | Trent Piepho <xyzzy@speakeasy.org> | 2007-10-15 17:40:48 -0700 |
commit | a441ca74b485183dd636eeab92312349ffda7394 (patch) | |
tree | 62b2b01b9b850ac13a4a8eadc8fa8af4e6f48fb5 /v4l | |
parent | c674110d66e2a7be495cbfa70e97388565050db1 (diff) | |
download | mediapointer-dvb-s2-a441ca74b485183dd636eeab92312349ffda7394.tar.gz mediapointer-dvb-s2-a441ca74b485183dd636eeab92312349ffda7394.tar.bz2 |
compat: fix syntax mistake in compat.h
From: Trent Piepho <xyzzy@speakeasy.org>
A previous patch forgot the "define" in #define and so won't even compile when
the code was triggered (kernel < 2.6.13).
Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Diffstat (limited to 'v4l')
-rw-r--r-- | v4l/compat.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/v4l/compat.h b/v4l/compat.h index ab2dcb688..a8d1b1d45 100644 --- a/v4l/compat.h +++ b/v4l/compat.h @@ -17,8 +17,8 @@ # define DEVICE_ATTR(a,b,c,d) CLASS_DEVICE_ATTR(a,b,c,d) # define device_create_file(a,b) class_device_create_file(a,b) # define device_remove_file(a,b) class_device_remove_file(a,b) -# device_register(a) class_device_register(a) -# device_unregister(a) class_device_unregister(a) +# define device_register(a) class_device_register(a) +# define device_unregister(a) class_device_unregister(a) #endif #if LINUX_VERSION_CODE < KERNEL_VERSION(2,5,0) |