Re: [PATCH v2 -next] staging: fieldbus: Fix build error without CONFIG_REGMAP_MMIO

From: Sven Van Asbroeck
Date: Tue May 28 2019 - 10:38:43 EST


On Tue, May 28, 2019 at 10:31 AM YueHaibing <yuehaibing@xxxxxxxxxx> wrote:
>
> Fix gcc build error while CONFIG_REGMAP_MMIO is not set
>

checkpatch.pl errors remain:

$ ./scripts/checkpatch.pl < ~/Downloads/YueHaibing.eml
ERROR: DOS line endings
#92: FILE: drivers/staging/fieldbus/anybuss/Kconfig:17:
+^Iselect REGMAP_MMIO^M$

total: 1 errors, 0 warnings, 0 checks, 7 lines checked