usb: host: Moved tegra_usb.h to include/linux/platform_data
authorBenoit Goby <benoit@android.com>
Wed, 2 Mar 2011 00:58:44 +0000 (16:58 -0800)
committerBenoit Goby <benoit@android.com>
Wed, 2 Mar 2011 01:13:29 +0000 (17:13 -0800)
Change-Id: Ic093d07858eb6e27aae9cd04d4c59407b5b1d76d
Signed-off-by: Benoit Goby <benoit@android.com>
drivers/usb/host/ehci-tegra.c
include/linux/platform_data/tegra_usb.h [new file with mode: 0644]
include/linux/tegra_usb.h [deleted file]

index a4f297544a1c23f004c0d24b6d5799f828e83d05..de3dcf0321ebb6b504f3646724bcdd8a29599493 100644 (file)
@@ -21,7 +21,7 @@
 
 #include <linux/clk.h>
 #include <linux/platform_device.h>
-#include <linux/tegra_usb.h>
+#include <linux/platform_data/tegra_usb.h>
 #include <linux/irq.h>
 #include <linux/usb/otg.h>
 #include <mach/usb_phy.h>
diff --git a/include/linux/platform_data/tegra_usb.h b/include/linux/platform_data/tegra_usb.h
new file mode 100644 (file)
index 0000000..2947ed2
--- /dev/null
@@ -0,0 +1,35 @@
+/*
+ * Copyright (C) 2010 Google, Inc.
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by the
+ * Free Software Foundation; either version 2 of the License, or (at your
+ * option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
+ * more details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
+ */
+
+#ifndef _TEGRA_USB_H_
+#define _TEGRA_USB_H_
+
+enum tegra_usb_operating_modes {
+       TEGRA_USB_DEVICE,
+       TEGRA_USB_HOST,
+       TEGRA_USB_OTG,
+};
+
+struct tegra_ehci_platform_data {
+       enum tegra_usb_operating_modes operating_mode;
+       /* power down the phy on bus suspend */
+       int power_down_on_bus_suspend;
+       void *phy_config;
+};
+
+#endif /* _TEGRA_USB_H_ */
diff --git a/include/linux/tegra_usb.h b/include/linux/tegra_usb.h
deleted file mode 100644 (file)
index 2947ed2..0000000
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * Copyright (C) 2010 Google, Inc.
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the
- * Free Software Foundation; either version 2 of the License, or (at your
- * option) any later version.
- *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
- */
-
-#ifndef _TEGRA_USB_H_
-#define _TEGRA_USB_H_
-
-enum tegra_usb_operating_modes {
-       TEGRA_USB_DEVICE,
-       TEGRA_USB_HOST,
-       TEGRA_USB_OTG,
-};
-
-struct tegra_ehci_platform_data {
-       enum tegra_usb_operating_modes operating_mode;
-       /* power down the phy on bus suspend */
-       int power_down_on_bus_suspend;
-       void *phy_config;
-};
-
-#endif /* _TEGRA_USB_H_ */