Skip to contentSkip to conversation

Fix syntax error

MMC Ralf Baechle 2 participants 3 messages Dec 3, 2006 MMC, SD and SDIO

lore
Share & tools
lore
#0 lore raw

Fix syntax error introduced in ab7aefd0b38297e6d2d71f43e8f81f9f4a36cdae.

drivers/mmc/au1xmmc.c +1 -1
index 447fba5..6aac498 100644
@@ -875,7 +875,7 @@ static void au1xmmc_init_dma(struct au1x
 	host->rx_chan = rxchan;
 }
 
-struct const mmc_host_ops au1xmmc_ops = {
+const struct mmc_host_ops au1xmmc_ops = {
 	.request	= au1xmmc_request,
 	.set_ios	= au1xmmc_set_ios,
 };
#1 lore raw
Quoted 1 line · Ralf Baechle

Fix syntax error introduced in ab7aefd0b38297e6d2d71f43e8f81f9f4a36cdae.

Whoops, sorry -- my bad. However:

drivers/mmc/au1xmmc.c static void au1xmmc_init_dma(struct au1x · line 878

Quoted 12 lines
drivers/mmc/au1xmmc.c +1 -1
index 447fba5..6aac498 100644
@@ -875,7 +875,7 @@ static void au1xmmc_init_dma(struct au1x
 	host->rx_chan = rxchan;
 }
 
-struct const mmc_host_ops au1xmmc_ops = {
+const struct mmc_host_ops au1xmmc_ops = {

This would normally be "static const struct" ...

Quoted 4 lines
drivers/mmc/au1xmmc.c +0 -0
 	.request	= au1xmmc_request,
 	.set_ios	= au1xmmc_set_ios,
 };
#2 lore raw
Quoted 4 lines · David Brownell
Quoted 1 line · Ralf Baechle

Fix syntax error introduced in ab7aefd0b38297e6d2d71f43e8f81f9f4a36cdae.

Whoops, sorry -- my bad. However:

Undercaffeination ...