Make the pnp structure a global variable, so it can be used elsewhere.
This commit is contained in:
parent
59549c5031
commit
3053524c85
@ -138,6 +138,10 @@ struct pnpinfo
|
||||
STAILQ_ENTRY(pnpinfo) pi_link;
|
||||
};
|
||||
|
||||
STAILQ_HEAD(pnpinfo_stql, pnpinfo);
|
||||
|
||||
extern struct pnpinfo_stql pnp_devices;
|
||||
|
||||
extern struct pnphandler *pnphandlers[]; /* provided by MD code */
|
||||
|
||||
void pnp_addident(struct pnpinfo *pi, char *ident);
|
||||
|
@ -15,7 +15,7 @@
|
||||
#include <string.h>
|
||||
#include <bootstrap.h>
|
||||
|
||||
STAILQ_HEAD(,pnpinfo) pnp_devices;
|
||||
struct pnpinfo_stql pnp_devices;
|
||||
static int pnp_devices_initted = 0;
|
||||
|
||||
static void pnp_discard(void);
|
||||
|
Loading…
Reference in New Issue
Block a user