Commit e37687c9 authored by Jacko Dirks's avatar Jacko Dirks Committed by Mark Brown

spi: bcm2835: Fixes bare use of unsigned

Signed-off-by: default avatarJacko Dirks <jdirks.linuxdev@gmail.com>
Link: https://lore.kernel.org/r/20200503200033.GA3256@vasteMachineSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 4f18b82b
...@@ -191,12 +191,12 @@ static void bcm2835_debugfs_remove(struct bcm2835_spi *bs) ...@@ -191,12 +191,12 @@ static void bcm2835_debugfs_remove(struct bcm2835_spi *bs)
} }
#endif /* CONFIG_DEBUG_FS */ #endif /* CONFIG_DEBUG_FS */
static inline u32 bcm2835_rd(struct bcm2835_spi *bs, unsigned reg) static inline u32 bcm2835_rd(struct bcm2835_spi *bs, unsigned int reg)
{ {
return readl(bs->regs + reg); return readl(bs->regs + reg);
} }
static inline void bcm2835_wr(struct bcm2835_spi *bs, unsigned reg, u32 val) static inline void bcm2835_wr(struct bcm2835_spi *bs, unsigned int reg, u32 val)
{ {
writel(val, bs->regs + reg); writel(val, bs->regs + reg);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment