summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/mtd/spi-nor/controllers/aspeed-smc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/spi-nor/controllers/aspeed-smc.c b/drivers/mtd/spi-nor/controllers/aspeed-smc.c
index 367d97abb3f6..5c9fe9dd5302 100644
--- a/drivers/mtd/spi-nor/controllers/aspeed-smc.c
+++ b/drivers/mtd/spi-nor/controllers/aspeed-smc.c
@@ -1331,7 +1331,7 @@ static int aspeed_smc_setup_flash(struct aspeed_smc_controller *controller,
&spi_tx_width)) {
spi_tx_width = 2;
}
- dev_info(dev, "tx width: %ld\n", spi_tx_width);
+ dev_info(dev, "tx width: %u\n", spi_tx_width);
hwcaps.mask = SNOR_HWCAPS_READ |
SNOR_HWCAPS_READ_FAST |