#define thisboard ((const dnp_board *)dev->board_ptr)
/* This structure is for data unique to the DNP driver --------------------- */
-typedef struct {
+struct dnp_private_data {
+
//
-} dnp_private_data;
+};
+
/* Shorthand macro for faster access to the private data ------------------- */
#define devpriv ((dnp_private *)dev->private)
/* Allocate the private structure area. alloc_private() is a convenient */
/* macro defined in comedidev.h. */
- if (alloc_private(dev, sizeof(dnp_private_data)) < 0)
+ if (alloc_private(dev, sizeof(struct dnp_private_data)) < 0)
return -ENOMEM;
/* Allocate the subdevice structures. alloc_subdevice() is a convenient */