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

spi: bcm2835: Fixes bare use of unsigned

parent 4f18b82b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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);
}