summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci
diff options
context:
space:
mode:
authoreivind <eivind@FreeBSD.org>1999-01-12 02:16:16 +0000
committereivind <eivind@FreeBSD.org>1999-01-12 02:16:16 +0000
commita9c54f9e21aff9b1c85b7b2e92d643a53c96bcab (patch)
treeb33942cc3b25faa4c509eed4c3fa8d6010952526 /sys/dev/pci
parentcdcdfed3b958dab535c34fed0cb83f31cdd4a913 (diff)
downloadFreeBSD-src-a9c54f9e21aff9b1c85b7b2e92d643a53c96bcab.zip
FreeBSD-src-a9c54f9e21aff9b1c85b7b2e92d643a53c96bcab.tar.gz
Clean out warnings by changin ID string declarations to be char xxx[]
instead of char *xxx.
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/ohci_pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/ohci_pci.c b/sys/dev/pci/ohci_pci.c
index 3bca46f..c9b1802 100644
--- a/sys/dev/pci/ohci_pci.c
+++ b/sys/dev/pci/ohci_pci.c
@@ -86,8 +86,8 @@
#define PCI_OHCI_DEVICEID_ALADDIN_V 0x523710b9
static const char *ohci_device_aladdin_v = "AcerLabs M5237 (Aladdin-V) USB Host Controller";
#define PCI_OHCI_DEVICEID_ADS 0x
-static const char *ohci_device_ads = "ADS Technologies USB Host Controller";
-static const char *ohci_device_generic = "OHCI USB Host Controller (generic)";
+static const char ohci_device_ads[] = "ADS Technologies USB Host Controller";
+static const char ohci_device_generic[] = "OHCI USB Host Controller (generic)";
#define PCI_OHCI_BASE_REG 0x10
OpenPOWER on IntegriCloud