diff options
author | dillon <dillon@FreeBSD.org> | 1998-12-14 06:37:37 +0000 |
---|---|---|
committer | dillon <dillon@FreeBSD.org> | 1998-12-14 06:37:37 +0000 |
commit | 1b46557c21ab146b0e43c06a8e1e922202afd373 (patch) | |
tree | 1ec35db1a5a1d4721c6893b6be4dff54402005ea /sys/pci/simos.c | |
parent | 2d9e52659ce15a8f818a51abfda4613167fdc974 (diff) | |
download | FreeBSD-src-1b46557c21ab146b0e43c06a8e1e922202afd373.zip FreeBSD-src-1b46557c21ab146b0e43c06a8e1e922202afd373.tar.gz |
probe function changed from returning char * to const char *.
Diffstat (limited to 'sys/pci/simos.c')
-rw-r--r-- | sys/pci/simos.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/pci/simos.c b/sys/pci/simos.c index 0be0397..85642b8 100644 --- a/sys/pci/simos.c +++ b/sys/pci/simos.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: simos.c,v 1.1 1998/06/10 10:57:14 dfr Exp $ + * $Id: simos.c,v 1.2 1998/09/26 14:49:26 dfr Exp $ */ #include <sys/param.h> @@ -70,7 +70,7 @@ struct simos_softc* simosp[10]; static u_long simos_unit; -static char *simos_probe __P((pcici_t tag, pcidi_t type)); +static const char *simos_probe __P((pcici_t tag, pcidi_t type)); static void simos_attach __P((pcici_t config_d, int unit)); static void simos_action __P((struct cam_sim *sim, union ccb *ccb)); static void simos_poll __P((struct cam_sim *sim)); @@ -84,7 +84,7 @@ struct pci_device simos_driver = { }; DATA_SET (pcidevice_set, simos_driver); -static char * +static const char * simos_probe(pcici_t tag, pcidi_t type) { switch (type) { |