/*
* Useful for shorthand access to the particular board structure
*/
-#define thisboard ((labpc_board *)dev->board_ptr)
+#define thisboard ((const labpc_board *)dev->board_ptr)
static comedi_driver driver_labpc_cs =
{
static int pc_debug = PCMCIA_DEBUG;
module_param(pc_debug, int, 0644);
#define DEBUG(n, args...) if (pc_debug>(n)) printk(KERN_DEBUG args)
-static char *version =
+static const char *version =
"ni_labpc.c, based on dummy_cs.c 1.31 2001/08/24 12:13:13";
#else
#define DEBUG(n, args...)
database.
*/
-static dev_info_t dev_info = "daqcard-1200";
+static const dev_info_t dev_info = "daqcard-1200";
/*
A dev_link_t structure has fields for most things that are needed