diff options
| author | Matthew N. Dodd <mdodd@FreeBSD.org> | 2000-04-07 02:50:24 +0000 |
|---|---|---|
| committer | Matthew N. Dodd <mdodd@FreeBSD.org> | 2000-04-07 02:50:24 +0000 |
| commit | bfae5e3a168b0325d02b18386740d353f4c6bdba (patch) | |
| tree | 122108e48fc9e8a1d09884a6d473a2756b60fe7f /sys/dev/dpt/dpt.h | |
| parent | 9c117130a504ffdd7981082c08fa2e679fa8e4c5 (diff) | |
Notes
Diffstat (limited to 'sys/dev/dpt/dpt.h')
| -rw-r--r-- | sys/dev/dpt/dpt.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/dpt/dpt.h b/sys/dev/dpt/dpt.h index f2d1c2209216..6d6230e75014 100644 --- a/sys/dev/dpt/dpt.h +++ b/sys/dev/dpt/dpt.h @@ -1270,8 +1270,9 @@ extern TAILQ_HEAD(dpt_softc_list, dpt_softc) dpt_softcs; extern int dpt_controllers_present; -struct dpt_softc* dpt_alloc(u_int unit, bus_space_tag_t tag, - bus_space_handle_t bsh); +#ifdef _KERNEL +dpt_softc_t * dpt_alloc(device_t, bus_space_tag_t, bus_space_handle_t); +#endif void dpt_free(struct dpt_softc *dpt); int dpt_init(struct dpt_softc *dpt); int dpt_attach(dpt_softc_t * dpt); |
