xref: /linux/drivers/media/usb/pvrusb2/pvrusb2-sysfs.h (revision 906fd46a65383cd639e5eec72a047efc33045d86)
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3  *
4  *  Copyright (C) 2005 Mike Isely <isely@pobox.com>
5  */
6 #ifndef __PVRUSB2_SYSFS_H
7 #define __PVRUSB2_SYSFS_H
8 
9 #include <linux/list.h>
10 #include <linux/sysfs.h>
11 #include "pvrusb2-context.h"
12 
13 #ifdef CONFIG_VIDEO_PVRUSB2_SYSFS
14 void pvr2_sysfs_class_create(void);
15 void pvr2_sysfs_class_destroy(void);
16 void pvr2_sysfs_create(struct pvr2_context *mp);
17 #else
18 static inline void pvr2_sysfs_class_create(void) { }
19 static inline void pvr2_sysfs_class_destroy(void) { }
20 static inline void pvr2_sysfs_create(struct pvr2_context *mp) { }
21 #endif
22 
23 
24 #endif /* __PVRUSB2_SYSFS_H */
25