diff options
author | Helge Deller <deller@gmx.de> | 2023-06-30 13:31:48 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2023-06-30 17:14:15 +0200 |
commit | f310f8dd1414d284566ffe47fb8b4379a0d74a64 (patch) | |
tree | 04f58baaa0f48b3b8ac5c7c63d5166f8189191bd /drivers/parisc/sba_iommu.c | |
parent | parisc: dino: Make dino_init() returning void (diff) | |
download | linux-f310f8dd1414d284566ffe47fb8b4379a0d74a64.tar.xz linux-f310f8dd1414d284566ffe47fb8b4379a0d74a64.zip |
parisc: Move init function declarations into header file
Clean up the code to not have external function declarations
inside the C source files. Reduces warnings when compiled with W=1.
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'drivers/parisc/sba_iommu.c')
-rw-r--r-- | drivers/parisc/sba_iommu.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/parisc/sba_iommu.c b/drivers/parisc/sba_iommu.c index 9f02afa7e5a1..bf3405f4289e 100644 --- a/drivers/parisc/sba_iommu.c +++ b/drivers/parisc/sba_iommu.c @@ -1235,8 +1235,6 @@ struct ibase_data_struct { static int setup_ibase_imask_callback(struct device *dev, void *data) { - /* lba_set_iregs() is in drivers/parisc/lba_pci.c */ - extern void lba_set_iregs(struct parisc_device *, u32, u32); struct parisc_device *lba = to_parisc_device(dev); struct ibase_data_struct *ibd = data; int rope_num = (lba->hpa.start >> 13) & 0xf; |