summaryrefslogtreecommitdiff
path: root/drivers/clk/sunxi/Makefile
diff options
context:
space:
mode:
authorChen-Yu Tsai <wens@csie.org>2015-01-28 03:54:06 +0800
committerMaxime Ripard <maxime.ripard@free-electrons.com>2015-02-23 09:25:54 +0100
commit6089ef19c9dadaf0e3378f75eca65af861cd3974 (patch)
tree0ad1a6f758611cc7e9387ee324c49cf6c04ba52f /drivers/clk/sunxi/Makefile
parentc517d838eb7d07bbe9507871fab3931deccff539 (diff)
clk: sunxi: Move USB clocks to separate file
The USB clocks originally shared code with the gates clocks, but had additional reset controllers. Move these to a separate file. This will allow us to add new support for slightly different USB clocks, such as on the A80, without affecting gates clocks, and also facilitate the migration of gates clocks to a generic solution. This also cleans up the USB clocks code slightly, such as adding newlines, getting rid of the unused clkdev call, using a simple u32 instead of BITMAP for the clock masks, using BIT() macro to declare the clock bitmasks, and using of_io_request_and_map() to get the I/O address. Signed-off-by: Chen-Yu Tsai <wens@csie.org> Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Diffstat (limited to 'drivers/clk/sunxi/Makefile')
-rw-r--r--drivers/clk/sunxi/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/clk/sunxi/Makefile b/drivers/clk/sunxi/Makefile
index 3a5292e3fcf8..058f273d6154 100644
--- a/drivers/clk/sunxi/Makefile
+++ b/drivers/clk/sunxi/Makefile
@@ -9,6 +9,7 @@ obj-y += clk-mod0.o
obj-y += clk-sun8i-mbus.o
obj-y += clk-sun9i-core.o
obj-y += clk-sun9i-mmc.o
+obj-y += clk-usb.o
obj-$(CONFIG_MFD_SUN6I_PRCM) += \
clk-sun6i-ar100.o clk-sun6i-apb0.o clk-sun6i-apb0-gates.o \