summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRahul Bedarkar <rahulbedarkar89@gmail.com>2013-12-31 21:58:11 +0530
committerPeter Chen <peter.chen@freescale.com>2014-01-16 16:55:51 +0800
commitb2ab07435ff0bd81d4e6dccc75278b43c4e9cd1e (patch)
treea98de88e721c4441b2fe1f0c86b14dd0cd33856d
parentc3cb8b0da19d76a89defafda4cfbca5c37f9b9a2 (diff)
USB: chipidea: add guard macro to ci_hdrc_imx.h
Add guard macro to driver/usb/chipidea/ci_hdrc_imx.h Signed-off-by: Rahul Bedarkar <rahulbedarkar89@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> (cherry picked from commit d27c16a1270c339e62ccc5816f3346d29f6b6c0d)
-rw-r--r--drivers/usb/chipidea/ci_hdrc_imx.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/usb/chipidea/ci_hdrc_imx.h b/drivers/usb/chipidea/ci_hdrc_imx.h
index b8204dbe4f81..3376c88c1ae6 100644
--- a/drivers/usb/chipidea/ci_hdrc_imx.h
+++ b/drivers/usb/chipidea/ci_hdrc_imx.h
@@ -9,6 +9,9 @@
* http://www.gnu.org/copyleft/gpl.html
*/
+#ifndef __DRIVER_USB_CHIPIDEA_CI_HDRC_IMX_H
+#define __DRIVER_USB_CHIPIDEA_CI_HDRC_IMX_H
+
#include <linux/usb/otg.h>
struct imx_usbmisc_data {
@@ -31,3 +34,5 @@ int imx_usbmisc_set_wakeup(struct imx_usbmisc_data *, bool);
/* Call it before setting portsc.suspendM */
int imx_usbmisc_hsic_set_connect(struct imx_usbmisc_data *);
int imx_usbmisc_hsic_set_clk(struct imx_usbmisc_data *, bool);
+
+#endif /* __DRIVER_USB_CHIPIDEA_CI_HDRC_IMX_H */