clk: sunxi: move "ahb_sdram" to protected clock list
authorChen-Yu Tsai <wens@csie.org>
Thu, 26 Jun 2014 15:55:40 +0000 (23:55 +0800)
committerMaxime Ripard <maxime.ripard@free-electrons.com>
Fri, 4 Jul 2014 10:05:09 +0000 (12:05 +0200)
commit70eab199fa39cb78e13d369db55f24a3839b8f9e
tree87490f5b36481f1cfa09e0481e40767a2ef5267a
parentd14e47056c726de566aa1fa8c3e7a4fd59141091
clk: sunxi: move "ahb_sdram" to protected clock list

With sunxi_gates clocks registered with clkdev, we can use the
protected clocks list to enable the "ahb_sdram" clock, instead
of looking for it and adding CLK_IGNORE_UNUSED inline in the
clock setup code.

Signed-off-by: Chen-Yu Tsai <wens@csie.org>
Acked-by: Maxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com>
drivers/clk/sunxi/clk-sunxi.c