Changeset 647 for GPL/branches/uniaud32-next/include/linux/device.h
- Timestamp:
- Jan 17, 2021, 7:58:38 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GPL/branches/uniaud32-next/include/linux/device.h
r625 r647 2 2 #define _LINUX_DEVICE_H 3 3 4 #include <linux/types.h> 4 5 #include <linux/kobject.h> 5 6 #include <linux/pm.h> … … 43 44 }; 44 45 45 #ifndef STRUCT_DEVICE46 struct device_private;47 #define STRUCT_DEVICE48 46 typedef struct device { 49 47 struct pci_dev *pci; /* for PCI and PCI-SG types */ … … 86 84 struct device_node *of_node; /* associated device tree node */ 87 85 } device; 88 #endif89 86 90 87 static inline struct device *kobj_to_dev(struct kobject *kobj) … … 113 110 }; 114 111 115 #if 0116 112 struct device_driver { 117 113 const char *name; … … 136 132 struct driver_private *p; 137 133 }; 138 #endif139 134 140 135 struct device_attribute {
Note:
See TracChangeset
for help on using the changeset viewer.