summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/s3c-hsudc.c
diff options
context:
space:
mode:
authorHeiko Stübner <heiko@sntech.de>2011-12-19 19:39:15 +0100
committerFelipe Balbi <balbi@ti.com>2011-12-21 13:24:27 +0200
commit715a3e41e78a40e1e711298667435d5a2cef1972 (patch)
tree2302eaf553d329ef5679299aac925b68444635f4 /drivers/usb/gadget/s3c-hsudc.c
parent3a082ec9b2f544a81e977cfa259e3f990a995dc8 (diff)
downloadblackbird-op-linux-715a3e41e78a40e1e711298667435d5a2cef1972.tar.gz
blackbird-op-linux-715a3e41e78a40e1e711298667435d5a2cef1972.zip
usb: gadget: s3c-hsudc: move platform_data struct to global header
Gadget drivers should be compilable on all architectures. This patch removes one dependency on architecture-specific code. Acked-by: Kukjin Kim <kgene.kim@samsung.com> Signed-off-by: Heiko Stuebner <heiko@sntech.de> Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/s3c-hsudc.c')
-rw-r--r--drivers/usb/gadget/s3c-hsudc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/s3c-hsudc.c b/drivers/usb/gadget/s3c-hsudc.c
index f398b8590f9c..2f9f8409031b 100644
--- a/drivers/usb/gadget/s3c-hsudc.c
+++ b/drivers/usb/gadget/s3c-hsudc.c
@@ -28,9 +28,9 @@
#include <linux/usb/gadget.h>
#include <linux/usb/otg.h>
#include <linux/prefetch.h>
+#include <linux/platform_data/s3c-hsudc.h>
#include <mach/regs-s3c2443-clock.h>
-#include <plat/udc.h>
#define S3C_HSUDC_REG(x) (x)
OpenPOWER on IntegriCloud