parisc: pci-dma: fix warning unused-function
authorAnders Roxell <anders.roxell@linaro.org>
Thu, 26 Nov 2020 13:06:00 +0000 (14:06 +0100)
committerHelge Deller <deller@gmx.de>
Tue, 15 Dec 2020 04:41:11 +0000 (05:41 +0100)
commit39b1e779b6e2d4ca7967b49b26f1e4358f20c90c
tree1a5a578f690491570f7d36d649e8d5dfc4fd488b
parent6ca753a3a72e4c848d91f10da270c58000ada53c
parisc: pci-dma: fix warning unused-function

When building tinyconfig on parisc the following warnign shows up:

/tmp/arch/parisc/kernel/pci-dma.c:338:12: warning: 'proc_pcxl_dma_show' defined but not used [-Wunused-function]
 static int proc_pcxl_dma_show(struct seq_file *m, void *v)
            ^~~~~~~~~~~~~~~~~~

Mark the function as __maybe_unused to fix the warning.

Signed-off-by: Anders Roxell <anders.roxell@linaro.org>
Signed-off-by: Helge Deller <deller@gmx.de>
arch/parisc/kernel/pci-dma.c