summaryrefslogtreecommitdiff
path: root/Kconfig
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2019-04-06 23:14:57 +0800
committerMark Brown <broonie@kernel.org>2019-04-08 14:06:14 +0700
commit9b186e9a65bffaef5ed56878095544b64584c29c (patch)
treea5545fb06f004a739060610ff5c430a81c9906e4 /Kconfig
parentb93318a22f23cad8a3732451d83c604f289fcfc7 (diff)
downloadlinux-9b186e9a65bffaef5ed56878095544b64584c29c.tar.gz
linux-9b186e9a65bffaef5ed56878095544b64584c29c.tar.bz2
linux-9b186e9a65bffaef5ed56878095544b64584c29c.zip
spi: bcm2835aux: Fix build error without CONFIG_DEBUG_FS
When building CONFIG_DEBUG_FS is not set gcc warn this: drivers/spi/spi-bcm2835aux.c: In function bcm2835aux_spi_probe: drivers/spi/spi-bcm2835aux.c:591:2: error: too many arguments to function bcm2835aux_debugfs_create bcm2835aux_debugfs_create(bs, dev_name(&pdev->dev)); ^~~~~~~~~~~~~~~~~~~~~~~~~ drivers/spi/spi-bcm2835aux.c:145:13: note: declared here static void bcm2835aux_debugfs_create(struct bcm2835aux_spi *bs) Reported-by: Hulk Robot <hulkci@huawei.com> Fixes: 8048d151eb4d ("spi: bcm2835aux: add driver stats to debugfs") Signed-off-by: YueHaibing <yuehaibing@huawei.com> Reviewed-by: Mukesh Ojha <mojha@codeaurora.org> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Kconfig')
0 files changed, 0 insertions, 0 deletions