FIXME: driver core: platform: make platform_bus_type constant
Now that the driver core can properly handle const bus_type structures,
make platform_bus_type constant, moving it into read-only memory.
************************FIXME *********************************************
This really doesn't do the marking, drivers/iommu/iommu.c wants
to write to the iommu_ops structure of a number of bus types, including
the platform_bus_type, so that needs to be fixed up first before this
can be done properly.
************************FIXME *********************************************
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2 files changed