Skip to content

Commit

Permalink
parisc: sba: Fix compile warning wrt list of SBA devices
Browse files Browse the repository at this point in the history
[ Upstream commit eb3255e ]

Fix this makecheck warning:
drivers/parisc/sba_iommu.c:98:19: warning: symbol 'sba_list'
	was not declared. Should it be static?

Signed-off-by: Helge Deller <deller@gmx.de>
Signed-off-by: Sasha Levin <sashal@kernel.org>
  • Loading branch information
hdeller authored and gregkh committed Oct 6, 2023
1 parent be90c9e commit 632e0fc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 3 additions & 0 deletions arch/parisc/include/asm/ropes.h
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,9 @@ struct sba_device {
struct ioc ioc[MAX_IOC];
};

/* list of SBA's in system, see drivers/parisc/sba_iommu.c */
extern struct sba_device *sba_list;

#define ASTRO_RUNWAY_PORT 0x582
#define IKE_MERCED_PORT 0x803
#define REO_MERCED_PORT 0x804
Expand Down
2 changes: 0 additions & 2 deletions drivers/char/agp/parisc-agp.c
Original file line number Diff line number Diff line change
Expand Up @@ -394,8 +394,6 @@ find_quicksilver(struct device *dev, void *data)
static int __init
parisc_agp_init(void)
{
extern struct sba_device *sba_list;

int err = -1;
struct parisc_device *sba = NULL, *lba = NULL;
struct lba_device *lbadev = NULL;
Expand Down

0 comments on commit 632e0fc

Please sign in to comment.