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 /linux/drivers/media/video/pvrusb2/pvrusb2-devattr.c | |
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>
Diffstat (limited to 'linux/drivers/media/video/pvrusb2/pvrusb2-devattr.c')
0 files changed, 0 insertions, 0 deletions