summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2021-11-26 16:45:59 +0100
committerHelge Deller <deller@gmx.de>2021-11-30 21:49:33 +0100
commit8d88382b7436551a9ebb78475c546b670790cbf6 (patch)
treedc2e676487c4f2653d432352151715535b40efef /drivers
parent7e8aeb9d466e1b14d0580b12a0b9f7c702c42f79 (diff)
downloadlinux-stable-8d88382b7436551a9ebb78475c546b670790cbf6.tar.gz
linux-stable-8d88382b7436551a9ebb78475c546b670790cbf6.tar.bz2
linux-stable-8d88382b7436551a9ebb78475c546b670790cbf6.zip
parisc/agp: Annotate parisc agp init functions with __init
Signed-off-by: Helge Deller <deller@gmx.de> Reported-by: kernel test robot <lkp@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/char/agp/parisc-agp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/char/agp/parisc-agp.c b/drivers/char/agp/parisc-agp.c
index ed3c4c42fc23..d68d05d5d383 100644
--- a/drivers/char/agp/parisc-agp.c
+++ b/drivers/char/agp/parisc-agp.c
@@ -281,7 +281,7 @@ agp_ioc_init(void __iomem *ioc_regs)
return 0;
}
-static int
+static int __init
lba_find_capability(int cap)
{
struct _parisc_agp_info *info = &parisc_agp_info;
@@ -366,7 +366,7 @@ fail:
return error;
}
-static int
+static int __init
find_quicksilver(struct device *dev, void *data)
{
struct parisc_device **lba = data;
@@ -378,7 +378,7 @@ find_quicksilver(struct device *dev, void *data)
return 0;
}
-static int
+static int __init
parisc_agp_init(void)
{
extern struct sba_device *sba_list;