Commit 56aec8de authored by Peter Huewe's avatar Peter Huewe Committed by Greg Kroah-Hartman

staging/comedi/me4000: fix sparse warning "obsolete struct initializer"

This patch fixes the sparse warnings in me4000.c:
me4000.c:122:1: warning: obsolete struct initializer, use C99 syntax
me4000.c:123:1: warning: obsolete struct initializer, use C99 syntax
me4000.c:124:1: warning: obsolete struct initializer, use C99 syntax
me4000.c:125:1: warning: obsolete struct initializer, use C99 syntax
by converting the struct to use C99 syntax
Signed-off-by: default avatarPeter Huewe <peterhuewe@gmx.de>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent e8b754ee
...@@ -119,10 +119,10 @@ static int me4000_attach(struct comedi_device *dev, ...@@ -119,10 +119,10 @@ static int me4000_attach(struct comedi_device *dev,
struct comedi_devconfig *it); struct comedi_devconfig *it);
static int me4000_detach(struct comedi_device *dev); static int me4000_detach(struct comedi_device *dev);
static struct comedi_driver driver_me4000 = { static struct comedi_driver driver_me4000 = {
driver_name: "me4000", .driver_name = "me4000",
module : THIS_MODULE, .module = THIS_MODULE,
attach : me4000_attach, .attach = me4000_attach,
detach : me4000_detach, .detach = me4000_detach,
}; };
/*----------------------------------------------------------------------------- /*-----------------------------------------------------------------------------
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment