/alps/pcitool

To get this branch, use:
bzr branch http://suren.me/webbzr/alps/pcitool
1 by Suren A. Chilingaryan
Initial import
1
#ifndef _PCIDRIVER_SYSFS_H
2
#define _PCIDRIVER_SYSFS_H
365 by Suren A. Chilingaryan
Restructure driver headers
3
4
#include <linux/sysfs.h>
5
6
#include "dev.h"
7
8
int pcidriver_create_sysfs_attributes(pcidriver_privdata_t *privdata);
9
void pcidriver_remove_sysfs_attributes(pcidriver_privdata_t *privdata);
10
11
int pcidriver_sysfs_initialize_kmem(pcidriver_privdata_t *privdata, int id, struct device_attribute *sysfs_attr);
12
int pcidriver_sysfs_initialize_umem(pcidriver_privdata_t *privdata, int id, struct device_attribute *sysfs_attr);
13
void pcidriver_sysfs_remove(pcidriver_privdata_t *privdata, struct device_attribute *sysfs_attr);
14
15
#endif /* _PCIDRIVER_SYSFS_H */