diff options
author | Ziyann <jaraidaniel@gmail.com> | 2014-11-26 20:33:18 +0100 |
---|---|---|
committer | Ziyann <jaraidaniel@gmail.com> | 2014-11-26 21:10:56 +0100 |
commit | f747c7de8f5a03987e9044dd56f2349b47e20bdc (patch) | |
tree | dc07fac793ff50474077ed6b78ce794f4ca1afa0 /drivers | |
parent | a514f79947dd95f447803faf05fbe6e2f941a132 (diff) | |
download | kernel_samsung_tuna-f747c7de8f5a03987e9044dd56f2349b47e20bdc.zip kernel_samsung_tuna-f747c7de8f5a03987e9044dd56f2349b47e20bdc.tar.gz kernel_samsung_tuna-f747c7de8f5a03987e9044dd56f2349b47e20bdc.tar.bz2 |
[REVIEW ME] tuna: temporary fix for gcc 4.8 build breakage
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/mmc/core/quirks.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mmc/core/quirks.c b/drivers/mmc/core/quirks.c index 48fb238..2d1d53e 100644 --- a/drivers/mmc/core/quirks.c +++ b/drivers/mmc/core/quirks.c @@ -84,6 +84,8 @@ void mmc_fixup_device(struct mmc_card *card, const struct mmc_fixup *table) } EXPORT_SYMBOL(mmc_fixup_device); +#pragma GCC push_options +#pragma GCC optimize ("O0") /* * Quirk code to fix bug in wear leveling firmware for certain Samsung emmc * chips @@ -321,6 +323,7 @@ void mmc_fixup_samsung_fw(struct mmc_card *card) pr_err("%s : Failed to fixup Samsung emmc firmware(%d)\n", mmc_hostname(card->host), err); } +#pragma GCC pop_options #ifdef CONFIG_MMC_SAMSUNG_SMART static int mmc_samsung_smart_read(struct mmc_card *card, u8 *rdblock) |