usb: phy: am335x-control: include appropriate header file in phy-am335x-control.c
authorRashika Kheria <rashika.kheria@gmail.com>
Thu, 19 Dec 2013 10:14:34 +0000 (15:44 +0530)
committerFelipe Balbi <balbi@ti.com>
Thu, 19 Dec 2013 15:27:42 +0000 (09:27 -0600)
commitdb67bc04bdc8cac2307af09c92cd73751905ec0e
tree7a57b2f77d39ab6cf0cb157a36b6ae95a4d8fdc0
parent0009e99ab7f505fefdade85d65b982774d41c06d
usb: phy: am335x-control: include appropriate header file in phy-am335x-control.c

Include header file drivers/usb/phy/am35x-phy-control.h in
phy/phy-am335x-control.c because function am335x_get_phy_control() has
its prototype declaration in drivers/usb/phy/am35x-phy-control.h.

Also, remove definition of structure phy_control because it is already
defined in the included header.

This eliminates the following warning in phy/phy-am335x-control.c:
drivers/usb/phy/phy-am335x-control.c:114:21: warning: no previous prototype for ‘am335x_get_phy_control’ [-Wmissing-prototypes]

Signed-off-by: Rashika Kheria <rashika.kheria@gmail.com>
Reviewed-by: Josh Triplett <josh@joshtriplett.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/phy/phy-am335x-control.c