]> git.ipfire.org Git - thirdparty/linux.git/blobdiff - drivers/usb/core/port.c
usb: core: constify the struct device_type usage
[thirdparty/linux.git] / drivers / usb / core / port.c
index c628c1abc90711cb9b8e652a0d903a6359c968bc..84d36172b040280781386cb029917a1be7d6a7c1 100644 (file)
@@ -429,7 +429,7 @@ static const struct dev_pm_ops usb_port_pm_ops = {
 #endif
 };
 
-struct device_type usb_port_device_type = {
+const struct device_type usb_port_device_type = {
        .name =         "usb_port",
        .release =      usb_port_device_release,
        .pm =           &usb_port_pm_ops,