mirror of
https://github.com/torvalds/linux.git
synced 2026-05-12 16:18:45 +02:00
There are a number of casts to "void __iomem *" in the initialsation of the driver's clk information. Fix this by adding a helper macro for the cast. Silences a number of sparse warnings: drivers/clk/mvebu/armada-37xx-periph.c:254:1: warning: incorrect type in initializer (different address spaces) drivers/clk/mvebu/armada-37xx-periph.c:254:1: expected void [noderef] __iomem *reg drivers/clk/mvebu/armada-37xx-periph.c:254:1: got void * drivers/clk/mvebu/armada-37xx-periph.c:254:1: warning: incorrect type in initializer (different address spaces) drivers/clk/mvebu/armada-37xx-periph.c:254:1: expected void [noderef] __iomem *reg1 drivers/clk/mvebu/armada-37xx-periph.c:254:1: got void * drivers/clk/mvebu/armada-37xx-periph.c:254:1: warning: incorrect type in initializer (different address spaces) drivers/clk/mvebu/armada-37xx-periph.c:254:1: expected void [noderef] __iomem *reg2 drivers/clk/mvebu/armada-37xx-periph.c:254:1: got void * drivers/clk/mvebu/armada-37xx-periph.c:255:1: warning: incorrect type in initializer (different address spaces) drivers/clk/mvebu/armada-37xx-periph.c:255:1: expected void [noderef] __iomem *reg drivers/clk/mvebu/armada-37xx-periph.c:255:1: got void * ... Signed-off-by: Ben Dooks <ben.dooks@codethink.co.uk> Reviewed-by: Brian Masney <bmasney@redhat.com> Signed-off-by: Stephen Boyd <sboyd@kernel.org> |
||
|---|---|---|
| .. | ||
| ap-cpu-clk.c | ||
| ap806-system-controller.c | ||
| armada_ap_cp_helper.c | ||
| armada_ap_cp_helper.h | ||
| armada-37xx-periph.c | ||
| armada-37xx-tbg.c | ||
| armada-37xx-xtal.c | ||
| armada-38x.c | ||
| armada-39x.c | ||
| armada-370.c | ||
| armada-375.c | ||
| armada-xp.c | ||
| clk-corediv.c | ||
| clk-cpu.c | ||
| common.c | ||
| common.h | ||
| cp110-system-controller.c | ||
| dove-divider.c | ||
| dove-divider.h | ||
| dove.c | ||
| Kconfig | ||
| kirkwood.c | ||
| Makefile | ||
| mv98dx3236.c | ||
| orion.c | ||