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:
Peter Wemm 2002-02-27 23:47:45 +00:00
parent e211585c77
commit f7afd87572
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=91445
4 changed files with 5 additions and 1 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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);

View File

@ -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);