drm/tests: hdmi: Fix memory leaks in drm_display_mode_from_cea_vic()
[drm/drm-misc.git] / drivers / media / usb / pvrusb2 / pvrusb2-sysfs.h
blob375a5372e95ce78445b17dbafad048a820be7a55
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
4 * Copyright (C) 2005 Mike Isely <isely@pobox.com>
5 */
6 #ifndef __PVRUSB2_SYSFS_H
7 #define __PVRUSB2_SYSFS_H
9 #include <linux/list.h>
10 #include <linux/sysfs.h>
11 #include "pvrusb2-context.h"
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
24 #endif /* __PVRUSB2_SYSFS_H */