Skip to content

Commit

Permalink
mmc, sdhci, bcm-kona, LLVMLinux: Remove use of __initconst
Browse files Browse the repository at this point in the history
The __initconst is in the wrong place, and when moved to the correct place
it uncovers an error where the variable is used by non-init data structures.

Instead merely make them const and put the const in the right spot.

Signed-off-by: Behan Webster <[email protected]>
Reviewed-by: Mark Charlebois <[email protected]>
Acked-by: Arnd Bergmann <[email protected]>
Acked-by: Matt Porter <[email protected]>
Signed-off-by: Ulf Hansson <[email protected]>
  • Loading branch information
behanw authored and storulf committed Oct 3, 2014
1 parent a06586b commit b3f635a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/mmc/host/sdhci-bcm-kona.c
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ static struct sdhci_pltfm_data sdhci_pltfm_data_kona = {
SDHCI_QUIRK_CAP_CLOCK_BASE_BROKEN,
};

static struct __initconst of_device_id sdhci_bcm_kona_of_match[] = {
static const struct of_device_id sdhci_bcm_kona_of_match[] = {
{ .compatible = "brcm,kona-sdhci"},
{ .compatible = "bcm,kona-sdhci"}, /* deprecated name */
{}
Expand Down

0 comments on commit b3f635a

Please sign in to comment.