diff options
author | dillon <dillon@FreeBSD.org> | 1998-12-14 05:47:29 +0000 |
---|---|---|
committer | dillon <dillon@FreeBSD.org> | 1998-12-14 05:47:29 +0000 |
commit | 5e557fc6bd95db1b1db3232e918d1477b60ea15d (patch) | |
tree | 0b23397a63155d259042171997a0d2a53e18851d /sys/pci/pci_compat.c | |
parent | 6d407291a85c950fa545a5200d6a66fb4748d70c (diff) | |
download | FreeBSD-src-5e557fc6bd95db1b1db3232e918d1477b60ea15d.zip FreeBSD-src-5e557fc6bd95db1b1db3232e918d1477b60ea15d.tar.gz |
pci_device pd_probe function changed from returning char * to returning
const char *. Originally I was going to add casts from const char * to
char * in some of the pci device drivers, but the reality is that the
pci device probes return constant quoted strings.
Diffstat (limited to 'sys/pci/pci_compat.c')
-rw-r--r-- | sys/pci/pci_compat.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/pci/pci_compat.c b/sys/pci/pci_compat.c index 42bed11..aa9e794 100644 --- a/sys/pci/pci_compat.c +++ b/sys/pci/pci_compat.c @@ -23,7 +23,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: pci_compat.c,v 1.15 1998/12/07 21:58:48 archie Exp $ + * $Id: pci_compat.c,v 1.16 1998/12/09 01:27:29 eivind Exp $ * */ @@ -345,9 +345,9 @@ pci_freeunit(pcicfgregs *cfg, char *name, int unit) return (unit); } -static char *drvname; +static const char *drvname; -static char* +static const char* pci_probedrv(pcicfgregs *cfg, struct pci_device *dvp) { if (dvp && dvp->pd_probe) { |