• Vegard Nossum's avatar
    pwm: add HAS_IOMEM dependency to PWM_FSL_FTM · 36d5be4b
    Vegard Nossum authored
    Ran into this on UML:
    
    drivers/built-in.o: In function `fsl_pwm_probe':
    linux/drivers/pwm/pwm-fsl-ftm.c:436: undefined reference to `devm_ioremap_resource'
    collect2: error: ld returned 1 exit status
    
    devm_ioremap_resource() is defined only when HAS_IOMEM is selected.
    Signed-off-by: default avatarVegard Nossum <vegard.nossum@oracle.com>
    Cc: Xiubo Li <Li.Xiubo@freescale.com>
    Cc: Alison Wang <b18965@freescale.com>
    Cc: Jingchang Lu <b35083@freescale.com>
    Cc: Sascha Hauer <s.hauer@pengutronix.de>
    Cc: Yuan Yao <yao.yuan@freescale.com>
    Cc: Thierry Reding <thierry.reding@gmail.com>
    Signed-off-by: default avatarThierry Reding <thierry.reding@gmail.com>
    36d5be4b
Kconfig 12.1 KB