mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-21 09:24:37 +07:00
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:
parent
4f18b82b02
commit
e37687c98a
@ -191,12 +191,12 @@ static void bcm2835_debugfs_remove(struct bcm2835_spi *bs)
|
||||
}
|
||||
#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);
|
||||
}
|
||||
|
||||
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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user