xref: /linux/drivers/media/usb/pvrusb2/pvrusb2-sysfs.h (revision c0e297dc61f8d4453e07afbea1fa8d0e67cd4a34)
1 /*
2  *
3  *
4  *  Copyright (C) 2005 Mike Isely <isely@pobox.com>
5  *
6  *  This program is free software; you can redistribute it and/or modify
7  *  it under the terms of the GNU General Public License as published by
8  *  the Free Software Foundation; either version 2 of the License
9  *
10  *  This program is distributed in the hope that it will be useful,
11  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
12  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  *  GNU General Public License for more details.
14  *
15  *  You should have received a copy of the GNU General Public License
16  *  along with this program; if not, write to the Free Software
17  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
18  *
19  */
20 #ifndef __PVRUSB2_SYSFS_H
21 #define __PVRUSB2_SYSFS_H
22 
23 #include <linux/list.h>
24 #include <linux/sysfs.h>
25 #include "pvrusb2-context.h"
26 
27 struct pvr2_sysfs;
28 struct pvr2_sysfs_class;
29 
30 struct pvr2_sysfs_class *pvr2_sysfs_class_create(void);
31 void pvr2_sysfs_class_destroy(struct pvr2_sysfs_class *);
32 
33 struct pvr2_sysfs *pvr2_sysfs_create(struct pvr2_context *,
34 				     struct pvr2_sysfs_class *);
35 
36 #endif /* __PVRUSB2_SYSFS_H */
37