Debian Codegraph @

drivers/dahdi/xpp/mmapbus.h

raw symbols SCIP
1 #ifndef MMAPBUS_H
2 #define MMAPBUS_H
3
4 #include <linux/device.h>
5
6 struct mmap_device {
7 char *name;
8 struct mmap_driver *driver;
9 struct device dev;
10 };
11 #define to_mmap_device(x) container_of(x, struct mmap_device, dev)
12
13 struct mmap_driver {
14 struct module *module;
15 struct device_driver driver;
16 };
17 #define to_mmap_driver(x) container_of(x, struct mmap_driver, driver)
18
19 int register_mmap_bus(void);
20 void unregister_mmap_bus(void);
21 int register_mmap_device(struct mmap_device *dev);
22 void unregister_mmap_device(struct mmap_device *dev);
23 int register_mmap_driver(struct mmap_driver *driver);
24 void unregister_mmap_driver(struct mmap_driver *driver);
25
26 #endif