diff options
author | Bill Pemberton <wfp5p@virginia.edu> | 2009-04-22 21:11:49 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-06-19 11:00:32 -0700 |
commit | 68c3dbff9fc9f25872408d0e95980d41733d48d0 (patch) | |
tree | ae965b1511832380aac7fe589a92bcaac9836b6b /drivers/staging/comedi/drivers/unioxx5.c | |
parent | dae0dc30be7fa21b15a9d9534589286c6c3e68a3 (diff) | |
download | kernel_samsung_smdk4412-68c3dbff9fc9f25872408d0e95980d41733d48d0.zip kernel_samsung_smdk4412-68c3dbff9fc9f25872408d0e95980d41733d48d0.tar.gz kernel_samsung_smdk4412-68c3dbff9fc9f25872408d0e95980d41733d48d0.tar.bz2 |
Staging: comedi: fix the way structs are initialized.
Change from the foo: bar format to the .foo = bar format.
Signed-off-by: Bill Pemberton <wfp5p@virginia.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/comedi/drivers/unioxx5.c')
-rw-r--r-- | drivers/staging/comedi/drivers/unioxx5.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/comedi/drivers/unioxx5.c b/drivers/staging/comedi/drivers/unioxx5.c index 18e5ddf..e308f5f 100644 --- a/drivers/staging/comedi/drivers/unioxx5.c +++ b/drivers/staging/comedi/drivers/unioxx5.c @@ -103,10 +103,10 @@ static int __unioxx5_define_chan_offset(int chan_num); static void __unioxx5_analog_config(struct unioxx5_subd_priv *usp, int channel); static struct comedi_driver unioxx5_driver = { - driver_name:DRIVER_NAME, - module:THIS_MODULE, - attach:unioxx5_attach, - detach:unioxx5_detach + .driver_name = DRIVER_NAME, + .module = THIS_MODULE, + .attach = unioxx5_attach, + .detach = unioxx5_detach }; COMEDI_INITCLEANUP(unioxx5_driver); |