Skip to content
Commit 2fb7e4dd authored by Greg Kroah-Hartman's avatar Greg Kroah-Hartman Committed by Rafael J. Wysocki
Browse files

PNP: make pnp_bus_type const



Now that the driver core can properly handle constant struct bus_type,
move the pnp_bus_type variable to be a constant structure as well,
placing it into read-only memory which can not be modified at runtime.

Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent ba3f5058
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment