From: Bill Pemberton Date: Tue, 17 Mar 2009 02:16:34 +0000 (-0400) Subject: Staging: comedi: Remove ni_private typedef X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c7ef22985517e35d3b5cf5cffa962a4b8ed8899b;p=openwrt%2Fstaging%2Fblogic.git Staging: comedi: Remove ni_private typedef Signed-off-by: Bill Pemberton Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/ni_mio_cs.c b/drivers/staging/comedi/drivers/ni_mio_cs.c index 9822f5e70229..d6357c25aca5 100644 --- a/drivers/staging/comedi/drivers/ni_mio_cs.c +++ b/drivers/staging/comedi/drivers/ni_mio_cs.c @@ -173,11 +173,13 @@ static const ni_board ni_boards[] = { #define NI_E_IRQ_FLAGS IRQF_SHARED -typedef struct { +struct ni_private { + struct pcmcia_device *link; - NI_PRIVATE_COMMON} ni_private; -#define devpriv ((ni_private *)dev->private) + NI_PRIVATE_COMMON}; + +#define devpriv ((struct ni_private *)dev->private) /* How we access registers */