summaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/pvrusb2/pvrusb2-sysfs.h
blob: 375a5372e95ce78445b17dbafad048a820be7a55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
/* SPDX-License-Identifier: GPL-2.0-only */
/*
 *
 *  Copyright (C) 2005 Mike Isely <isely@pobox.com>
 */
#ifndef __PVRUSB2_SYSFS_H
#define __PVRUSB2_SYSFS_H

#include <linux/list.h>
#include <linux/sysfs.h>
#include "pvrusb2-context.h"

#ifdef CONFIG_VIDEO_PVRUSB2_SYSFS
void pvr2_sysfs_class_create(void);
void pvr2_sysfs_class_destroy(void);
void pvr2_sysfs_create(struct pvr2_context *mp);
#else
static inline void pvr2_sysfs_class_create(void) { }
static inline void pvr2_sysfs_class_destroy(void) { }
static inline void pvr2_sysfs_create(struct pvr2_context *mp) { }
#endif


#endif /* __PVRUSB2_SYSFS_H */