usb: phy: fix dual role sysfs build if kernel modules are supported
authorAmit Pundir <amit.pundir@linaro.org>
Wed, 2 Sep 2015 11:08:31 +0000 (16:38 +0530)
committerHuang, Tao <huangtao@rock-chips.com>
Tue, 27 Oct 2015 08:45:44 +0000 (16:45 +0800)
Add a missing ";" after EXPORT_SYMBOL() otherwise we run
into following build error if Kernel Modules are supported:
----------
  CC      drivers/usb/phy/class-dual-role.o
drivers/usb/phy/class-dual-role.c:91:1: error: expected ',' or ';' before 'int'
 int dual_role_get_property(struct dual_role_phy_instance *dual_role,
 ^
make[3]: *** [drivers/usb/phy/class-dual-role.o] Error 1
----------

Signed-off-by: Amit Pundir <amit.pundir@linaro.org>
(cherry picked from commit 9ff158f4c245c2fecb1489a4aae62ca67c0846a1)

Change-Id: I7ec77584b3a753448ddc50a74204a20f4636f8a4
(cherry picked from commit f5af56b478111455ce9041d958b83f13bc742af6)

drivers/usb/phy/class-dual-role.c

index ce889dd529cbea785ac957f1ae4ff9c9d8572d8e..51fcb545a9d578589da728c488643d6887f75008 100644 (file)
@@ -86,7 +86,7 @@ void dual_role_instance_changed(struct dual_role_phy_instance *dual_role)
        pm_wakeup_event(&dual_role->dev, DUAL_ROLE_NOTIFICATION_TIMEOUT);
        schedule_work(&dual_role->changed_work);
 }
-EXPORT_SYMBOL_GPL(dual_role_instance_changed)
+EXPORT_SYMBOL_GPL(dual_role_instance_changed);
 
 int dual_role_get_property(struct dual_role_phy_instance *dual_role,
                           enum dual_role_property prop,