spi: bcm2835: Fixes bare use of unsigned

Signed-off-by: Jacko Dirks <jdirks.linuxdev@gmail.com>
Link: https://lore.kernel.org/r/20200503200033.GA3256@vasteMachine
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
Jacko Dirks 2020-05-03 22:00:33 +02:00 committed by Mark Brown
parent 4f18b82b02
commit e37687c98a
No known key found for this signature in database
GPG Key ID: 24D68B725D5487D0
1 changed files with 2 additions and 2 deletions

View File

@ -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);
} }