A 'struct device_type' instance can carry default attributes for the device. Use this facility to remove the export of nvdimm_attribute_group and put the responsibility on the core rather than leaf implementations to define this attribute.
Showing the changes to include/linux (1 of 4 files). Show all
Unified · Split
| @@ -66,7 +66,6 @@ enum { · 65 unmodified lines | |||
| 66 | }; | 66 | }; |
| 67 | 67 | ||
| 68 | extern struct attribute_group nvdimm_bus_attribute_group; | 68 | extern struct attribute_group nvdimm_bus_attribute_group; |
| 69 | extern struct attribute_group nvdimm_attribute_group; | ||
| 70 | 69 | ||
| 71 | struct nvdimm; | 70 | struct nvdimm; |
| 72 | struct nvdimm_bus_descriptor; | 71 | struct nvdimm_bus_descriptor; |