aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorMatthew Dillon <dillon@FreeBSD.org>1998-12-14 05:47:29 +0000
committerMatthew Dillon <dillon@FreeBSD.org>1998-12-14 05:47:29 +0000
commit35f069d08b51be1bccf4c57a22caeef766fae2de (patch)
tree819101c54fadc8abdda4f5c647a0059d18f539ed /sys/dev/pci
parentf7bb75c92a424d5ed621a7f774682c4c4fa19ee7 (diff)
downloadsrc-35f069d08b51be1bccf4c57a22caeef766fae2de.tar.gz
src-35f069d08b51be1bccf4c57a22caeef766fae2de.zip
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.
Notes
Notes: svn path=/head/; revision=41766
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/pcivar.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/pci/pcivar.h b/sys/dev/pci/pcivar.h
index 13e9991eefc3..75f48a8bc6d8 100644
--- a/sys/dev/pci/pcivar.h
+++ b/sys/dev/pci/pcivar.h
@@ -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: pcivar.h,v 1.21 1998/09/15 08:21:09 gibbs Exp $
+ * $Id: pcivar.h,v 1.22 1998/10/06 14:18:40 dfr Exp $
*
*/
@@ -199,7 +199,7 @@ extern int pci_mechanism;
struct pci_device {
char* pd_name;
- char* (*pd_probe ) (pcici_t tag, pcidi_t type);
+ const char* (*pd_probe ) (pcici_t tag, pcidi_t type);
void (*pd_attach) (pcici_t tag, int unit);
u_long *pd_count;
int (*pd_shutdown) (int, int);