diff options
| author | Stefan Agner <stefan@agner.ch> | 2018-02-12 00:19:11 +0100 |
|---|---|---|
| committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2018-03-08 15:12:00 +0200 |
| commit | 6eb5ac2e99545b574b7a6422037ae790213b27ef (patch) | |
| tree | c7ea3bccd3af76bd4702f0f8215503ae6d45266a /tools/perf/scripts/python | |
| parent | usb: phy: mxs: Staticize mxs_charger_secondary_detection() (diff) | |
| download | linux-6eb5ac2e99545b574b7a6422037ae790213b27ef.tar.gz linux-6eb5ac2e99545b574b7a6422037ae790213b27ef.zip | |
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 <stefan@agner.ch>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
