From: David Schleef Date: Mon, 18 Dec 2000 17:28:22 +0000 (+0000) Subject: fix warning X-Git-Tag: r0_7_54~26 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ef1db0f205ac402a5ba8d6687b6467945570d568;p=comedi.git fix warning --- diff --git a/comedi/drivers/ni_atmio.c b/comedi/drivers/ni_atmio.c index 85191001..2d72f85c 100644 --- a/comedi/drivers/ni_atmio.c +++ b/comedi/drivers/ni_atmio.c @@ -243,7 +243,7 @@ typedef struct{ static int atmio_attach(comedi_device *dev,comedi_devconfig *it); static int atmio_detach(comedi_device *dev); -static int atmio_recognize(const char *name); +static int atmio_recognize(char *name); comedi_driver driver_atmio={ driver_name: "ni_atmio", module: THIS_MODULE, @@ -255,7 +255,7 @@ comedi_driver driver_atmio={ #include "ni_mio_common.c" -static int atmio_recognize(const char *name) +static int atmio_recognize(char *name) { if(!strcmp(name,"atmio-E")){ printk("Driver name 'atmio-E' deprecated. Please use 'ni_atmio'.\n");