1. 15 May, 2015 13 commits
    • Stephen Boyd's avatar
      clk: ti: Silence sparse warnings · 412d6b47
      Stephen Boyd authored
      drivers/clk/ti/clk.c:125:31: warning: incorrect type in return expression (different address spaces)
      drivers/clk/ti/clk.c:125:31:    expected void [noderef] <asn:2>*
      drivers/clk/ti/clk.c:125:31:    got void *
      drivers/clk/ti/clk.c:132:31: warning: incorrect type in return expression (different address spaces)
      drivers/clk/ti/clk.c:132:31:    expected void [noderef] <asn:2>*
      drivers/clk/ti/clk.c:132:31:    got void *
      drivers/clk/ti/dpll.c:180:14: warning: symbol '_get_reg' was not declared. Should it be static?
      drivers/clk/ti/fapll.c:624:32: warning: Using plain integer as NULL pointer
      drivers/clk/ti/fapll.c:625:31: warning: Using plain integer as NULL pointer
      drivers/clk/ti/fapll.c:630:40: warning: Using plain integer as NULL pointer
      drivers/clk/ti/clk-dra7-atl.c:158:22: warning: symbol 'atl_clk_ops' was not declared. Should it be static?
      drivers/clk/ti/clk-dra7-atl.c:170:39: warning: Using plain integer as NULL pointer
      Acked-by: default avatarPeter Ujfalusi <peter.ujfalusi@ti.com>
      Acked-by: default avatarTero Kristo <t-kristo@ti.com>
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      412d6b47
    • Stephen Boyd's avatar
      clk: st: Silence sparse warnings · 8e6dd77c
      Stephen Boyd authored
      drivers/clk/st/clkgen-mux.c:134:4: warning: symbol 'clkgena_divmux_get_parent' was not declared. Should it be static?
      drivers/clk/st/clkgen-mux.c:171:15: warning: symbol 'clkgena_divmux_recalc_rate' was not declared. Should it be static?
      drivers/clk/st/clkgen-mux.c:218:12: warning: symbol 'clk_register_genamux' was not declared. Should it be static?
      drivers/clk/st/clkgen-mux.c:388:13: warning: symbol 'st_of_clkgena_divmux_setup' was not declared. Should it be static?
      drivers/clk/st/clkgen-mux.c:488:13: warning: symbol 'st_of_clkgena_prediv_setup' was not declared. Should it be static?
      drivers/clk/st/clkgen-mux.c:625:13: warning: symbol 'st_of_clkgen_mux_setup' was not declared. Should it be static?
      drivers/clk/st/clkgen-mux.c:702:13: warning: symbol 'st_of_clkgen_vcc_setup' was not declared. Should it be static?
      drivers/clk/st/clkgen-pll.c:273:15: warning: symbol 'recalc_stm_pll800c65' was not declared. Should it be static?
      drivers/clk/st/clkgen-pll.c:300:15: warning: symbol 'recalc_stm_pll1600c65' was not declared. Should it be static?
      drivers/clk/st/clkgen-pll.c:324:15: warning: symbol 'recalc_stm_pll3200c32' was not declared. Should it be static?
      drivers/clk/st/clkgen-pll.c:346:15: warning: symbol 'recalc_stm_pll1200c32' was not declared. Should it be static?
      drivers/clk/st/clkgen-pll.c:565:19: warning: incorrect type in assignment (different address spaces)
      drivers/clk/st/clkgen-pll.c:565:19:    expected void [noderef] <asn:2>*reg
      drivers/clk/st/clkgen-pll.c:565:19:    got void *
      drivers/clk/st/clkgen-pll.c:576:18: warning: incorrect type in assignment (different address spaces)
      drivers/clk/st/clkgen-pll.c:576:18:    expected void [noderef] <asn:2>*reg
      drivers/clk/st/clkgen-pll.c:576:18:    got void *
      drivers/clk/st/clkgen-pll.c:693:53: warning: incorrect type in argument 2 (different address spaces)
      drivers/clk/st/clkgen-pll.c:693:53:    expected void *[noderef] <asn:2>reg
      drivers/clk/st/clkgen-pll.c:693:53:    got void [noderef] <asn:2>*[assigned] pll_base
      drivers/clk/st/clkgen-fsyn.c:495:5: warning: symbol 'clk_fs660c32_vco_get_rate' was not declared. Should it be static?
      drivers/clk/st/clkgen-fsyn.c:522:5: warning: symbol 'clk_fs660c32_vco_get_params' was not declared. Should it be static?
      drivers/clk/st/clk-flexgen.c:119:15: warning: symbol 'flexgen_recalc_rate' was not declared. Should it be static?
      drivers/clk/st/clk-flexgen.c:177:12: warning: symbol 'clk_register_flexgen' was not declared. Should it be static?
      drivers/clk/st/clk-flexgen.c:263:13: warning: symbol 'st_of_flexgen_setup' was not declared. Should it be static?
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      8e6dd77c
    • Stephen Boyd's avatar
      clk: socfpga: Silence sparse warning · b011d386
      Stephen Boyd authored
      drivers/clk/socfpga/clk-gate.c:227:40: warning: Using plain integer as NULL pointer
      
      Cc: Dinh Nguyen <dinguyen@altera.com>
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      b011d386
    • Stephen Boyd's avatar
      clk: sirf: Silence sparse warnings · f53f551b
      Stephen Boyd authored
      These are __iomem pointers. Mark them appropriately so we don't
      get sparse errors like
      
      drivers/clk/sirf/clk-common.c:60:16: warning: incorrect type in argument 1 (different address spaces)
      drivers/clk/sirf/clk-common.c:60:16:    expected void const volatile [noderef] <asn:2>*addr
      drivers/clk/sirf/clk-common.c:60:16:    got void *
      
      Cc: Barry Song <Baohua.Song@csr.com>
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      f53f551b
    • Stephen Boyd's avatar
      clk: emev2: Silence sparse warnings · 43f53570
      Stephen Boyd authored
      drivers/clk/shmobile/clk-emev2.c:37:14: warning: symbol 'smu_base' was not declared. Should it be static?
      
      Cc: Takashi Yoshii <takasi-y@ops.dti.ne.jp>
      Cc: Magnus Damm <damm@opensource.se>
      Acked-by: default avatarSimon Horman <horms+renesas@verge.net.au>
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      43f53570
    • Stephen Boyd's avatar
      clk: samsung: Silence sparse warnings · f6704f9e
      Stephen Boyd authored
      drivers/clk/samsung/clk-exynos5260.c:138:40: warning: Using plain integer as NULL pointer
      drivers/clk/samsung/clk-exynos5260.c:328:40: warning: Using plain integer as NULL pointer
      drivers/clk/samsung/clk-exynos5260.c:392:40: warning: Using plain integer as NULL pointer
      drivers/clk/samsung/clk-exynos5260.c:494:40: warning: Using plain integer as NULL pointer
      drivers/clk/samsung/clk-exynos5260.c:583:40: warning: Using plain integer as NULL pointer
      drivers/clk/samsung/clk-exynos5260.c:644:40: warning: Using plain integer as NULL pointer
      drivers/clk/samsung/clk-exynos5260.c:779:40: warning: Using plain integer as NULL pointer
      drivers/clk/samsung/clk-exynos5260.c:898:40: warning: Using plain integer as NULL pointer
      drivers/clk/samsung/clk-exynos5260.c:962:40: warning: Using plain integer as NULL pointer
      drivers/clk/samsung/clk-exynos5260.c:1018:40: warning: Using plain integer as NULL pointer
      drivers/clk/samsung/clk-exynos5260.c:1165:40: warning: Using plain integer as NULL pointer
      drivers/clk/samsung/clk-exynos5260.c:1373:40: warning: Using plain integer as NULL pointer
      drivers/clk/samsung/clk-exynos5260.c:1829:40: warning: Using plain integer as NULL pointer
      Acked-by: default avatarSylwester Nawrocki <s.nawrocki@samsung.com>
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      f6704f9e
    • Stephen Boyd's avatar
      clk: hix5hd2: Silence sparse warnings · 4a77f817
      Stephen Boyd authored
      drivers/clk/hisilicon/clk-hix5hd2.c:255:13: warning: symbol 'hix5hd2_clk_register_complex' was not declared. Should it be static?
      Acked-by: default avatarZhangfei Gao <zhangfei.gao@linaro.org>
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      4a77f817
    • Stephen Boyd's avatar
      clk: berlin: Silence sparse warning · 47c18e4c
      Stephen Boyd authored
      drivers/clk/berlin/berlin2-pll.c:94:12: warning: symbol 'berlin2_pll_register' was not declared. Should it be static?
      
      Cc: Alexandre Belloni <alexandre.belloni@free-electrons.com>
      Acked-by: default avatarSebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      47c18e4c
    • Stephen Boyd's avatar
      clk: bcm/kona: Remove ccu_list · 7926b3f8
      Stephen Boyd authored
      This list doesn't look to be used. Let's remove it and any
      associated code that would be manipulating this list. This also
      silences this error:
      
      drivers/clk/bcm/clk-kona-setup.c:24:1: warning: symbol 'ccu_list' was not declared. Should it be static?
      Reviewed-by: default avatarAlex Elder <elder@linaro.org>
      Cc: Tim Kryger <tim.kryger@linaro.org>
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      7926b3f8
    • Stephen Boyd's avatar
      clk: bcm/kona: Silence sparse warnings · 4cca1be4
      Stephen Boyd authored
      drivers/clk/bcm/clk-kona.c:1243:16: warning: odd constant _Bool cast (ffffffffffffffea becomes 1)
      Reviewed-by: default avatarAlex Elder <elder@linaro.org>
      Cc: Tim Kryger <tim.kryger@linaro.org>
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      4cca1be4
    • Stephen Boyd's avatar
      clk: max-gen: Silence sparse warnings · 9a39222d
      Stephen Boyd authored
      drivers/clk/clk-max-gen.c:82:16: warning: symbol 'max_gen_clk_ops' was not declared. Should it be static?
      drivers/clk/clk-max-gen.c:109:5: warning: symbol 'max_gen_clk_probe' was not declared. Should it be static?
      drivers/clk/clk-max-gen.c:183:5: warning: symbol 'max_gen_clk_remove' was not declared. Should it be static?
      Acked-by: default avatarJavier Martinez Canillas <javier.martinez@collabora.co.uk>
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      9a39222d
    • Stephen Boyd's avatar
      clk: Silence sparse warnings about __clk_{get,put}() · 562ef0b0
      Stephen Boyd authored
      drivers/clk/clk.c:2700:5: warning: symbol '__clk_get' was not declared. Should it be static?
      drivers/clk/clk.c:2713:6: warning: symbol '__clk_put' was not declared. Should it be static?
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      562ef0b0
    • Stephen Boyd's avatar
      clk: gpio-gate: Don't export __init functions · 2bb5d1b8
      Stephen Boyd authored
      This function is marked as __init, so exposing it to modules
      doesn't make any sense and it isn't used by modules anyway.
      
      drivers/clk/clk-gpio-gate.c:192:13: warning: symbol 'of_gpio_gate_clk_setup' was not declared. Should it be static?
      
      Cc: Jyri Sarha <jsarha@ti.com>
      Signed-off-by: default avatarStephen Boyd <sboyd@codeaurora.org>
      2bb5d1b8
  2. 14 May, 2015 2 commits
  3. 13 May, 2015 6 commits
  4. 08 May, 2015 3 commits
  5. 07 May, 2015 7 commits
  6. 06 May, 2015 9 commits