diff mbox

mtd: Remove unused symbol CONFIG_MTDRAM_ABS_POS

Message ID 20160710003835.GA29572@localhost
State Accepted
Headers show

Commit Message

Brian Norris July 10, 2016, 12:38 a.m. UTC
On Fri, Jun 03, 2016 at 01:06:27AM +0100, Ben Hutchings wrote:
> This has been unused, except as the condition for a fatal error, since
> commit c13cbf3b5086 ("[MTD] mtdram: Quick cleanup of the driver:") in
> 2.6.13 (!).
> 
> Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
> ---
>  arch/cris/arch-v10/drivers/axisflashmap.c |  2 +-
>  drivers/mtd/devices/Kconfig               | 12 ------------
>  2 files changed, 1 insertion(+), 13 deletions(-)

You missed a usage in arch/cris/arch-v32/drivers/axisflashmap.c. Applied
with the following diff:
diff mbox

Patch

diff --git a/arch/cris/arch-v32/drivers/axisflashmap.c b/arch/cris/arch-v32/drivers/axisflashmap.c
index bd10d3ba0949..87656c41fec7 100644
--- a/arch/cris/arch-v32/drivers/axisflashmap.c
+++ b/arch/cris/arch-v32/drivers/axisflashmap.c
@@ -320,7 +320,7 @@  static int __init init_axis_flash(void)
 	 * but its size must be configured as 0 so as not to conflict
 	 * with our usage.
 	 */
-#if !defined(CONFIG_MTD_MTDRAM) || (CONFIG_MTDRAM_TOTAL_SIZE != 0) || (CONFIG_MTDRAM_ABS_POS != 0)
+#if !defined(CONFIG_MTD_MTDRAM) || (CONFIG_MTDRAM_TOTAL_SIZE != 0)
 	if (!romfs_in_flash && !nand_boot) {
 		printk(KERN_EMERG "axisflashmap: Cannot create an MTD RAM "
 		       "device; configure CONFIG_MTD_MTDRAM with size = 0!\n");