mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-11-29 17:32:43 +00:00
Make the pnp structure a global variable, so it can be used elsewhere.
This commit is contained in:
parent
59549c5031
commit
3053524c85
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=65614
@ -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