mirror of
https://github.com/freebsd/freebsd-src.git
synced 2024-12-04 05:58:57 +00:00
Fix warnings. The driver would be more useful with a DRIVER_MODULE()
entry so that it actually can do something.
This commit is contained in:
parent
e211585c77
commit
f7afd87572
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=91445
@ -106,7 +106,7 @@ struct con_bios {
|
||||
};
|
||||
|
||||
static struct con_bios *con_bios_list;
|
||||
static devclass_t digi_devclass;
|
||||
devclass_t digi_devclass;
|
||||
static char driver_name[] = "digi";
|
||||
unsigned digi_debug = 0;
|
||||
|
||||
|
@ -206,6 +206,8 @@ struct digi_softc {
|
||||
#endif
|
||||
};
|
||||
|
||||
extern devclass_t digi_devclass;
|
||||
|
||||
extern const struct digi_control_signals digi_xixe_signals;
|
||||
extern const struct digi_control_signals digi_normal_signals;
|
||||
|
||||
|
@ -469,3 +469,4 @@ static driver_t digi_isa_drv = {
|
||||
digi_isa_methods,
|
||||
sizeof(struct digi_softc),
|
||||
};
|
||||
DRIVER_MODULE(digi, isa, digi_isa_drv, digi_devclass, 0, 0);
|
||||
|
@ -225,3 +225,4 @@ static driver_t digi_pci_drv = {
|
||||
digi_pci_methods,
|
||||
sizeof(struct digi_softc),
|
||||
};
|
||||
DRIVER_MODULE(digi, pci, digi_pci_drv, digi_devclass, 0, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user