diff options
author | Felipe Balbi <balbi@ti.com> | 2012-05-22 07:02:26 -0400 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2012-10-19 04:13:47 -0400 |
commit | 6f115e45a09846ae84154735e6215622e2e8e535 (patch) | |
tree | 13e96ed2625501bb699822f293a426fb626fba0c /drivers/usb/dwc3/Makefile | |
parent | 3921426b13b1e0b2db6872a8d22d9fe2a4afe332 (diff) |
usb: dwc3: drop HAVE_CLK dependency from Exynos glue layer
commit 93abe8e (clk: add non CONFIG_HAVE_CLK routines)
added clk API stubs when !defined(CONFIG_HAVE_CLK).
This allows us to remove the HAVE_CLK dependency from
Exynos' glue layer and let it compile always.
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/dwc3/Makefile')
-rw-r--r-- | drivers/usb/dwc3/Makefile | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/drivers/usb/dwc3/Makefile b/drivers/usb/dwc3/Makefile index d441fe4c180b..4502648b8171 100644 --- a/drivers/usb/dwc3/Makefile +++ b/drivers/usb/dwc3/Makefile | |||
@@ -27,19 +27,7 @@ endif | |||
27 | ## | 27 | ## |
28 | 28 | ||
29 | obj-$(CONFIG_USB_DWC3) += dwc3-omap.o | 29 | obj-$(CONFIG_USB_DWC3) += dwc3-omap.o |
30 | 30 | obj-$(CONFIG_USB_DWC3) += dwc3-exynos.o | |
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 | ||
44 | ifneq ($(CONFIG_PCI),) | 32 | ifneq ($(CONFIG_PCI),) |
45 | obj-$(CONFIG_USB_DWC3) += dwc3-pci.o | 33 | obj-$(CONFIG_USB_DWC3) += dwc3-pci.o |