Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6f115e45 authored by Felipe Balbi's avatar Felipe Balbi
Browse files

usb: dwc3: drop HAVE_CLK dependency from Exynos glue layer



commit 93abe8e4 (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: default avatarFelipe Balbi <balbi@ti.com>
parent 3921426b
Loading
Loading
Loading
Loading
+1 −13
Original line number Diff line number Diff line
@@ -27,19 +27,7 @@ endif
##

obj-$(CONFIG_USB_DWC3)		+= dwc3-omap.o

##
# REVISIT Samsung Exynos platform needs the clk API which isn't
# defined on all architectures. If we allow dwc3-exynos.c compile
# always we will fail the linking phase on those architectures
# which don't provide clk api implementation and that's unnaceptable.
#
# When Samsung's platform start supporting pm_runtime, this check
# for HAVE_CLK should be removed.
##
ifneq ($(CONFIG_HAVE_CLK),)
obj-$(CONFIG_USB_DWC3)		+= dwc3-exynos.o
endif

ifneq ($(CONFIG_PCI),)
	obj-$(CONFIG_USB_DWC3)		+= dwc3-pci.o