projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4f18b82
)
spi: bcm2835: Fixes bare use of unsigned
author
Jacko Dirks
<jdirks.linuxdev@gmail.com>
Sun, 3 May 2020 20:00:33 +0000
(22:00 +0200)
committer
Mark Brown
<broonie@kernel.org>
Tue, 5 May 2020 12:50:22 +0000
(13:50 +0100)
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>
drivers/spi/spi-bcm2835.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/spi/spi-bcm2835.c
b/drivers/spi/spi-bcm2835.c
index 11c235879bb73d80f2656c98523e900009ef84b9..e10b8f3b4bab45a804da9bd2ff0d0148bf529a10 100644
(file)
--- a/
drivers/spi/spi-bcm2835.c
+++ b/
drivers/spi/spi-bcm2835.c
@@
-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);
}