Re: [PATCH] counter: fix ftm-quaddec build error on UML
From: Richard Weinberger
Date: Mon Jun 17 2019 - 15:59:48 EST
Hi!
----- UrsprÃngliche Mail -----
> Von: "Randy Dunlap" <rdunlap@xxxxxxxxxxxxx>
> An: "linux-kernel" <linux-kernel@xxxxxxxxxxxxxxx>, linux-iio@xxxxxxxxxxxxxxx
> CC: "Geert Uytterhoeven" <geert@xxxxxxxxxxxxxx>, "Kjeld Flarup" <kfa@xxxxxxxx>, "Patrick Havelange"
> <patrick.havelange@xxxxxxxxxxxxx>, "William Breathitt Gray" <vilhelm.gray@xxxxxxxxx>, "richard" <richard@xxxxxx>
> Gesendet: Montag, 17. Juni 2019 18:21:40
> Betreff: [PATCH] counter: fix ftm-quaddec build error on UML
> From: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
>
> Fix build error on user-mode Linux, which does not set HAS_IOMEM,
> so devm_ioremap() is not available. Fixes this build error:
>
> ERROR: "devm_ioremap" [drivers/counter/ftm-quaddec.ko] undefined!
>
> Fixes: a3b9a99980d9 ("counter: add FlexTimer Module Quadrature decoder counter
> driver")
>
> Reported-by: Geert Uytterhoeven <geert@xxxxxxxxxxxxxx>
> Signed-off-by: Randy Dunlap <rdunlap@xxxxxxxxxxxxx>
AFAICT Patrick fixed this already.
Thanks,
//richard