diff options
Diffstat (limited to 'linux/drivers')
-rw-r--r-- | linux/drivers/media/video/pvrusb2/pvrusb2-sysfs.c | 88 |
1 files changed, 44 insertions, 44 deletions
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-sysfs.c b/linux/drivers/media/video/pvrusb2/pvrusb2-sysfs.c index a9710b52c..f82fd643c 100644 --- a/linux/drivers/media/video/pvrusb2/pvrusb2-sysfs.c +++ b/linux/drivers/media/video/pvrusb2/pvrusb2-sysfs.c @@ -364,50 +364,50 @@ CREATE_STORE_INSTANCE(store_val_int,ctl_id) \ CREATE_STORE_INSTANCE(store_val_enum,ctl_id) CREATE_BATCH(0) - CREATE_BATCH(1) - CREATE_BATCH(2) - CREATE_BATCH(3) - CREATE_BATCH(4) - CREATE_BATCH(5) - CREATE_BATCH(6) - CREATE_BATCH(7) - CREATE_BATCH(8) - CREATE_BATCH(9) - CREATE_BATCH(10) - CREATE_BATCH(11) - CREATE_BATCH(12) - CREATE_BATCH(13) - CREATE_BATCH(14) - CREATE_BATCH(15) - CREATE_BATCH(16) - CREATE_BATCH(17) - CREATE_BATCH(18) - CREATE_BATCH(19) - CREATE_BATCH(20) - CREATE_BATCH(21) - CREATE_BATCH(22) - CREATE_BATCH(23) - CREATE_BATCH(24) - CREATE_BATCH(25) - CREATE_BATCH(26) - CREATE_BATCH(27) - CREATE_BATCH(28) - CREATE_BATCH(29) - CREATE_BATCH(30) - CREATE_BATCH(31) - - struct pvr2_sysfs_func_set { - ssize_t (*show_name)(struct class_device *,char *); - ssize_t (*show_min)(struct class_device *,char *); - ssize_t (*show_max)(struct class_device *,char *); - ssize_t (*show_enum)(struct class_device *,char *); - ssize_t (*show_val_int)(struct class_device *,char *); - ssize_t (*show_val_enum)(struct class_device *,char *); - ssize_t (*store_val_int)(struct class_device *, - const char *,size_t); - ssize_t (*store_val_enum)(struct class_device *, - const char *,size_t); - }; +CREATE_BATCH(1) +CREATE_BATCH(2) +CREATE_BATCH(3) +CREATE_BATCH(4) +CREATE_BATCH(5) +CREATE_BATCH(6) +CREATE_BATCH(7) +CREATE_BATCH(8) +CREATE_BATCH(9) +CREATE_BATCH(10) +CREATE_BATCH(11) +CREATE_BATCH(12) +CREATE_BATCH(13) +CREATE_BATCH(14) +CREATE_BATCH(15) +CREATE_BATCH(16) +CREATE_BATCH(17) +CREATE_BATCH(18) +CREATE_BATCH(19) +CREATE_BATCH(20) +CREATE_BATCH(21) +CREATE_BATCH(22) +CREATE_BATCH(23) +CREATE_BATCH(24) +CREATE_BATCH(25) +CREATE_BATCH(26) +CREATE_BATCH(27) +CREATE_BATCH(28) +CREATE_BATCH(29) +CREATE_BATCH(30) +CREATE_BATCH(31) + +struct pvr2_sysfs_func_set { + ssize_t (*show_name)(struct class_device *,char *); + ssize_t (*show_min)(struct class_device *,char *); + ssize_t (*show_max)(struct class_device *,char *); + ssize_t (*show_enum)(struct class_device *,char *); + ssize_t (*show_val_int)(struct class_device *,char *); + ssize_t (*show_val_enum)(struct class_device *,char *); + ssize_t (*store_val_int)(struct class_device *, + const char *,size_t); + ssize_t (*store_val_enum)(struct class_device *, + const char *,size_t); +}; #define INIT_BATCH(ctl_id) \ [ctl_id] = { \ |