diff options
Diffstat (limited to 'linux/drivers/media/video/pvrusb2/pvrusb2-sysfs.c')
-rw-r--r-- | linux/drivers/media/video/pvrusb2/pvrusb2-sysfs.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-sysfs.c b/linux/drivers/media/video/pvrusb2/pvrusb2-sysfs.c index f6ace8abe..90cb36435 100644 --- a/linux/drivers/media/video/pvrusb2/pvrusb2-sysfs.c +++ b/linux/drivers/media/video/pvrusb2/pvrusb2-sysfs.c @@ -776,9 +776,7 @@ struct pvr2_sysfs_class *pvr2_sysfs_class_create(void) #else clp->class.dev_release = pvr2_sysfs_release; #endif -#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,16) - clp->class.hotplug = pvr2_sysfs_hotplug; -#elif LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19) +#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,19) clp->class.uevent = pvr2_sysfs_hotplug; #endif if (class_register(&clp->class)) { |