Files
android_kernel_xiaomi_sm8450/include/linux/platform_data
Ezequiel García 93af53b863 nand: omap2: Remove horrible ifdefs to fix module probe
The current code abuses ifdefs to determine if the selected ECC scheme
is supported by the running kernel. As a result the code is hard to read,
and it also fails to load as a module.

This commit removes all the ifdefs and instead introduces a function
omap2_nand_ecc_check() to check if the ECC is supported by using
IS_ENABLED(CONFIG_xxx).

Since IS_ENABLED() is true when a config is =y or =m, this change fixes the
module so it can be loaded with no issues.

Acked-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Ezequiel Garcia <ezequiel@vanguardiasur.com.ar>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
2014-09-22 11:37:51 -07:00
..
2012-10-19 18:46:51 +01:00
2013-06-11 20:25:58 +01:00
2014-02-19 13:36:15 +09:00
2012-12-05 10:55:54 -08:00
2013-04-29 18:28:13 -07:00
2014-01-02 03:30:35 -05:00
2013-07-21 17:24:41 +02:00
2012-11-02 12:00:36 -07:00
2013-06-04 21:03:56 +09:00
2014-01-14 21:36:53 -08:00
2013-12-11 10:56:21 -05:00
2012-12-06 13:54:51 -05:00
2014-01-14 21:36:53 -08:00
2013-05-25 10:33:30 -04:00
2014-07-23 00:49:37 +02:00
2013-12-11 09:25:20 -02:00