parisc: sba: Fix compile warning wrt list of SBA devices
[ Upstream commit eb3255ee8f
]
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>
This commit is contained in:
Родитель
bd1ec7f998
Коммит
1ecdcfec4e
|
@ -86,6 +86,9 @@ struct sba_device {
|
||||||
struct ioc ioc[MAX_IOC];
|
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 ASTRO_RUNWAY_PORT 0x582
|
||||||
#define IKE_MERCED_PORT 0x803
|
#define IKE_MERCED_PORT 0x803
|
||||||
#define REO_MERCED_PORT 0x804
|
#define REO_MERCED_PORT 0x804
|
||||||
|
|
|
@ -394,8 +394,6 @@ find_quicksilver(struct device *dev, void *data)
|
||||||
static int __init
|
static int __init
|
||||||
parisc_agp_init(void)
|
parisc_agp_init(void)
|
||||||
{
|
{
|
||||||
extern struct sba_device *sba_list;
|
|
||||||
|
|
||||||
int err = -1;
|
int err = -1;
|
||||||
struct parisc_device *sba = NULL, *lba = NULL;
|
struct parisc_device *sba = NULL, *lba = NULL;
|
||||||
struct lba_device *lbadev = NULL;
|
struct lba_device *lbadev = NULL;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче