Skip to content

Commit

Permalink
parisc/agp: Annotate parisc agp init functions with __init
Browse files Browse the repository at this point in the history
[ Upstream commit 8d88382 ]

Signed-off-by: Helge Deller <deller@gmx.de>
Reported-by: kernel test robot <lkp@intel.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
  • Loading branch information
hdeller authored and gregkh committed Dec 17, 2021
1 parent cf520cc commit d6edec8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/char/agp/parisc-agp.c
Expand Up @@ -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;
Expand Down Expand Up @@ -366,7 +366,7 @@ parisc_agp_setup(void __iomem *ioc_hpa, void __iomem *lba_hpa)
return error;
}

static int
static int __init
find_quicksilver(struct device *dev, void *data)
{
struct parisc_device **lba = data;
Expand All @@ -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;
Expand Down

0 comments on commit d6edec8

Please sign in to comment.