diff options
author | Anton Tikhomirov <av.tikhomirov@samsung.com> | 2012-02-15 03:04:56 -0500 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2012-03-02 05:11:28 -0500 |
commit | d28a9689c93195d39f91f35a9519876688605b65 (patch) | |
tree | 39d7c0b3f80657039cefc3996c20010bdbabbed0 /drivers/usb/dwc3/Makefile | |
parent | f6bafc6a1c9d58f0c234ac5052b9c09b0747348c (diff) |
usb: dwc3: Add Exynos Specific Glue layer
Adds Exynos Specific Glue layer to support USB peripherals
on Samsung Exynos5 chips.
[ balbi@ti.com : prevent compilation of Exynos glue layer
on platforms which don't provide clk API implementation ]
Signed-off-by: Anton Tikhomirov <av.tikhomirov@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/dwc3/Makefile')
-rw-r--r-- | drivers/usb/dwc3/Makefile | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/drivers/usb/dwc3/Makefile b/drivers/usb/dwc3/Makefile index 900ae74357f1..d441fe4c180b 100644 --- a/drivers/usb/dwc3/Makefile +++ b/drivers/usb/dwc3/Makefile | |||
@@ -28,6 +28,19 @@ endif | |||
28 | 28 | ||
29 | obj-$(CONFIG_USB_DWC3) += dwc3-omap.o | 29 | obj-$(CONFIG_USB_DWC3) += dwc3-omap.o |
30 | 30 | ||
31 | ## | ||
32 | # REVISIT Samsung Exynos platform needs the clk API which isn't | ||
33 | # defined on all architectures. If we allow dwc3-exynos.c compile | ||
34 | # always we will fail the linking phase on those architectures | ||
35 | # which don't provide clk api implementation and that's unnaceptable. | ||
36 | # | ||
37 | # When Samsung's platform start supporting pm_runtime, this check | ||
38 | # for HAVE_CLK should be removed. | ||
39 | ## | ||
40 | ifneq ($(CONFIG_HAVE_CLK),) | ||
41 | obj-$(CONFIG_USB_DWC3) += dwc3-exynos.o | ||
42 | endif | ||
43 | |||
31 | ifneq ($(CONFIG_PCI),) | 44 | ifneq ($(CONFIG_PCI),) |
32 | obj-$(CONFIG_USB_DWC3) += dwc3-pci.o | 45 | obj-$(CONFIG_USB_DWC3) += dwc3-pci.o |
33 | endif | 46 | endif |