aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/core/message.c
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <[email protected]>2023-01-11 11:30:03 +0000
committerGreg Kroah-Hartman <[email protected]>2023-01-27 12:45:28 +0000
commita77ad4bf792652340ab334956e69b46ec2fdaefb (patch)
treefcb8692b4f9218194cca346d0ed8af82385d0022 /drivers/usb/core/message.c
parentdocs: embargoed-hardware-issues: add embargoed HW contact for Samsung (diff)
downloadkernel-a77ad4bf792652340ab334956e69b46ec2fdaefb.tar.gz
kernel-a77ad4bf792652340ab334956e69b46ec2fdaefb.zip
of: device: make of_device_uevent_modalias() take a const device *
of_device_uevent_modalias() does not modify the device pointer passed to it, so mark it constant. In order to properly do this, a number of busses need to have a modalias function added as they were attempting to just point to of_device_uevent_modalias instead of their bus-specific modalias function. This is fine except if the prototype for a bus and device type modalias function diverges and then problems could happen. To prevent all of that, just wrap the call to of_device_uevent_modalias() directly for each bus and device type individually. Cc: Michael Ellerman <[email protected]> Cc: Nicholas Piggin <[email protected]> Cc: Christophe Leroy <[email protected]> Cc: Chen-Yu Tsai <[email protected]> Cc: Jernej Skrabec <[email protected]> Cc: Samuel Holland <[email protected]> Cc: David Airlie <[email protected]> Cc: Daniel Vetter <[email protected]> Cc: Benjamin Herrenschmidt <[email protected]> Cc: Rob Herring <[email protected]> Cc: Frank Rowand <[email protected]> Cc: Liang He <[email protected]> Cc: Thomas Gleixner <[email protected]> Cc: Christophe JAILLET <[email protected]> Cc: Thomas Zimmermann <[email protected]> Cc: Dmitry Baryshkov <[email protected]> Cc: Douglas Anderson <[email protected]> Cc: Lyude Paul <[email protected]> Cc: Corentin Labbe <[email protected]> Cc: Zou Wei <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Acked-by: Hans de Goede <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/core/message.c')
0 files changed, 0 insertions, 0 deletions