Skip to content

Commit eb3255e

Browse files
committed
parisc: sba: Fix compile warning wrt list of SBA devices
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 <[email protected]>
1 parent 6428bc7 commit eb3255e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

arch/parisc/include/asm/ropes.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,9 @@ struct sba_device {
8686
struct ioc ioc[MAX_IOC];
8787
};
8888

89+
/* list of SBA's in system, see drivers/parisc/sba_iommu.c */
90+
extern struct sba_device *sba_list;
91+
8992
#define ASTRO_RUNWAY_PORT 0x582
9093
#define IKE_MERCED_PORT 0x803
9194
#define REO_MERCED_PORT 0x804

drivers/char/agp/parisc-agp.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -394,8 +394,6 @@ find_quicksilver(struct device *dev, void *data)
394394
static int __init
395395
parisc_agp_init(void)
396396
{
397-
extern struct sba_device *sba_list;
398-
399397
int err = -1;
400398
struct parisc_device *sba = NULL, *lba = NULL;
401399
struct lba_device *lbadev = NULL;

0 commit comments

Comments
 (0)