xref: /openbsd/sys/dev/pci/drm/include/linux/device/bus.h (revision 462b0080)
1 /* Public domain. */
2 
3 #ifndef _LINUX_DEVICE_BUS_H
4 #define _LINUX_DEVICE_BUS_H
5 
6 struct bus_type {
7 };
8 
9 struct notifier_block;
10 
11 static inline int
bus_register_notifier(const struct bus_type * bt,struct notifier_block * nb)12 bus_register_notifier(const struct bus_type *bt, struct notifier_block *nb)
13 {
14 	return 0;
15 }
16 
17 static inline int
bus_unregister_notifier(const struct bus_type * bt,struct notifier_block * nb)18 bus_unregister_notifier(const struct bus_type *bt, struct notifier_block *nb)
19 {
20 	return 0;
21 }
22 
23 #endif
24