mirror of
https://github.com/Telecominfraproject/wlan-ap.git
synced 2025-10-30 01:52:51 +00:00
ipq53xx: fix bootconfig driver compilation with gcc13
Fix CONFIG_EMMC macro to CONFIG_MMC for compatibility with gcc13 and newer kernel configurations. Signed-off-by: John Crispin <john@phrozen.org>
This commit is contained in:
11
feeds/qca-wifi-7/ipq53xx/patches-6.1/803-bootconfig.patch
Normal file
11
feeds/qca-wifi-7/ipq53xx/patches-6.1/803-bootconfig.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- a/drivers/platform/ipq/bootconfig.c
|
||||
+++ b/drivers/platform/ipq/bootconfig.c
|
||||
@@ -593,7 +593,7 @@ static int write_to_flash (struct sbl_if
|
||||
if (IS_ERR(mtd)) {
|
||||
/*Flash to EMMC*/
|
||||
|
||||
-#ifdef CONFIG_EMMC
|
||||
+#ifdef CONFIG_MMC
|
||||
for (i = 0; i < MAX_MMC_DEVICE; i++) {
|
||||
|
||||
bdev = blkdev_get_by_dev(MKDEV(MMC_BLOCK_MAJOR,
|
||||
Reference in New Issue
Block a user