mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-02-19 21:50:17 -05:00
mmc: bcm2835: Fix type of current clock speed
The type of mmc_ios.clock is unsigned int, so the cached value should be of the same type. Signed-off-by: Stefan Wahren <wahrenst@gmx.net> Message-ID: <20241025103621.4780-4-wahrenst@gmx.net> Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
This commit is contained in:
committed by
Ulf Hansson
parent
ba6193c809
commit
9d3b4e52fd
@@ -150,7 +150,7 @@ struct bcm2835_host {
|
||||
|
||||
struct platform_device *pdev;
|
||||
|
||||
int clock; /* Current clock speed */
|
||||
unsigned int clock; /* Current clock speed */
|
||||
unsigned int max_clk; /* Max possible freq */
|
||||
struct work_struct dma_work;
|
||||
struct delayed_work timeout_work; /* Timer for timeouts */
|
||||
|
||||
Reference in New Issue
Block a user