• Linus Walleij's avatar
    mfd: ab8500: Fix compile error · 0cd5b6d0
    Linus Walleij authored
    When compiling the AB8500 core driver in the latest
    MFD tree the following happens:
    
      CC      drivers/mfd/ab8500-debugfs.o
    /home/elinwal/linux-next/drivers/mfd/ab8500-debugfs.c:157:3: error: 'AB8500_SYS_CTRL1_BLOCK' undeclared here (not in a function)
    /home/elinwal/linux-next/drivers/mfd/ab8500-debugfs.c:157:2: error: array index in initializer not of integer type
    /home/elinwal/linux-next/drivers/mfd/ab8500-debugfs.c:157:2: error: (near initialization for 'debug_ranges')
    (...)
    
    This is due to a missing include statement, so fix
    it up.
    
    Cc: Lee Jones <lee.jones@linaro.org>
    Signed-off-by: default avatarLinus Walleij <linus.walleij@linaro.org>
    Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
    0cd5b6d0
ab8500-debugfs.c 40.4 KB