diff options
author | Mike Isely <isely@pobox.com> | 2007-12-02 20:44:40 -0600 |
---|---|---|
committer | Mike Isely <isely@pobox.com> | 2007-12-02 20:44:40 -0600 |
commit | dedddec7bfa58699731c228f8e7984461217b94c (patch) | |
tree | 14ec0155ce6c9fb398cba620020aa2eddb2288cf | |
parent | 97b7ad6194868f627050701ecfdb59b8723b7d9c (diff) | |
download | mediapointer-dvb-s2-dedddec7bfa58699731c228f8e7984461217b94c.tar.gz mediapointer-dvb-s2-dedddec7bfa58699731c228f8e7984461217b94c.tar.bz2 |
pvrusb2: Fix compilation for kernels older than 2.6.18
From: Mike Isely <isely@pobox.com>
Move VIDEO_PVRUSB2_SYSFS such that it is turned off for kernels older
than 2.6.18. This should allow the driver to still compile using
older kernel (minus the sysfs interface). This change is due to the
driver's sysfs implementation moving forward to the newer class
interface mechanism; the differences are too great to cleanly separate
with ifdefs (and I expect the divergence to grow as other changes are
made to take advantage of the new mechanism), so for now we simply
give up trying to deal with the old interface.
Signed-off-by: Mike Isely <isely@pobox.com>
-rw-r--r-- | v4l/versions.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/v4l/versions.txt b/v4l/versions.txt index affc221bb..af560b999 100644 --- a/v4l/versions.txt +++ b/v4l/versions.txt @@ -14,6 +14,8 @@ VIDEO_CAFE_CCIC # Uses remap_vmalloc_range() [2.6.18] VIDEOBUF_VMALLOC +# Uses new class interface, which did not start to appear until 2.6.18. +VIDEO_PVRUSB2_SYSFS # DVB_CORE_ATTACH relies on symbol_put_addr which hangs pre-2.6.17 [2.6.17] @@ -59,7 +61,6 @@ USB_PWC_DEBUG USB_STV680 VIDEO_PVRUSB2 VIDEO_PVRUSB2_24XXX -VIDEO_PVRUSB2_SYSFS VIDEO_PVRUSB2_DEBUGIFC VIDEO_USBVISION |