* and dest address, which is incompatible with nand cache. Fallback
* to the memcpy_fromio in such case
*/
- if (bcmbca_nand_is_buf_aligned((void *)flash_cache, buffer))
- memcpy((void *)buffer, (void *)flash_cache, fc_words * 4);
+ if (bcmbca_nand_is_buf_aligned((void __force *)flash_cache, buffer))
+ memcpy((void *)buffer, (void __force *)flash_cache, fc_words * 4);
else
memcpy_fromio((void *)buffer, flash_cache, fc_words * 4);
}