pvrusb2-sysfs.h (0337966d121ebebf73a1c346123e8112796e684e) pvrusb2-sysfs.h (2504ba9f5970299a33ca7802c60359f849146d78)
1/* SPDX-License-Identifier: GPL-2.0-only */
1/*
2 *
2/*
3 *
3 *
4 * Copyright (C) 2005 Mike Isely <isely@pobox.com>
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 */
16#ifndef __PVRUSB2_SYSFS_H
17#define __PVRUSB2_SYSFS_H
18
19#include <linux/list.h>
20#include <linux/sysfs.h>
21#include "pvrusb2-context.h"
22
23struct pvr2_sysfs;
24struct pvr2_sysfs_class;
25
26struct pvr2_sysfs_class *pvr2_sysfs_class_create(void);
27void pvr2_sysfs_class_destroy(struct pvr2_sysfs_class *);
28
29struct pvr2_sysfs *pvr2_sysfs_create(struct pvr2_context *,
30 struct pvr2_sysfs_class *);
31
32#endif /* __PVRUSB2_SYSFS_H */
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
13struct pvr2_sysfs;
14struct pvr2_sysfs_class;
15
16struct pvr2_sysfs_class *pvr2_sysfs_class_create(void);
17void pvr2_sysfs_class_destroy(struct pvr2_sysfs_class *);
18
19struct pvr2_sysfs *pvr2_sysfs_create(struct pvr2_context *,
20 struct pvr2_sysfs_class *);
21
22#endif /* __PVRUSB2_SYSFS_H */