aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorStefan Agner <[email protected]>2018-02-12 00:19:11 +0100
committerFelipe Balbi <[email protected]>2018-03-08 15:12:00 +0200
commit6eb5ac2e99545b574b7a6422037ae790213b27ef (patch)
treec7ea3bccd3af76bd4702f0f8215503ae6d45266a /tools/perf/scripts/python
parent9556f70c00534a0160d6456026c59d84407449f2 (diff)
usb: phy: ab8500: use correct enum type
The local variable event is of type enum usb_phy_events. Use the same enum value USB_EVENT_NONE instead of UX500_MUSB_NONE. This avoids a warning when building with clang: drivers/usb/phy/phy-ab8500-usb.c:906:30: warning: implicit conversion from enumeration type 'enum ux500_musb_vbus_id_status' to different enumeration type 'enum usb_phy_events' [-Wenum-conversion] enum usb_phy_events event = UX500_MUSB_NONE; ~~~~~ ^~~~~~~~~~~~~~~ Signed-off-by: Stefan Agner <[email protected]> Signed-off-by: Felipe Balbi <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions