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:
Stefan Wahren
2024-10-25 12:36:15 +02:00
committed by Ulf Hansson
parent ba6193c809
commit 9d3b4e52fd

View File

@@ -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 */