ia64/xen-unstable

changeset 6741:864d936a0482

convert initializers to C99 initializers

Signed-off-by: Vincent Hanquez <vincent@xensource.com>
author vh249@arcadians.cl.cam.ac.uk
date Sat Sep 10 14:38:01 2005 +0000 (2005-09-10)
parents aa1adbeecfcd
children ac6605bceb9d
files linux-2.6-xen-sparse/drivers/xen/console/console.c linux-2.6-xen-sparse/drivers/xen/evtchn/evtchn.c linux-2.6-xen-sparse/drivers/xen/privcmd/privcmd.c linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_dev.c
line diff
     1.1 --- a/linux-2.6-xen-sparse/drivers/xen/console/console.c	Sat Sep 10 14:24:39 2005 +0000
     1.2 +++ b/linux-2.6-xen-sparse/drivers/xen/console/console.c	Sat Sep 10 14:38:01 2005 +0000
     1.3 @@ -182,9 +182,9 @@ static kdev_t kcons_device(struct consol
     1.4  #endif
     1.5  
     1.6  static struct console kcons_info = {
     1.7 -    device:  kcons_device,
     1.8 -    flags:   CON_PRINTBUFFER,
     1.9 -    index:   -1
    1.10 +    .device	= kcons_device,
    1.11 +    .flags	= CON_PRINTBUFFER,
    1.12 +    .index	= -1,
    1.13  };
    1.14  
    1.15  #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
     2.1 --- a/linux-2.6-xen-sparse/drivers/xen/evtchn/evtchn.c	Sat Sep 10 14:24:39 2005 +0000
     2.2 +++ b/linux-2.6-xen-sparse/drivers/xen/evtchn/evtchn.c	Sat Sep 10 14:38:01 2005 +0000
     2.3 @@ -356,14 +356,14 @@ static int evtchn_release(struct inode *
     2.4  }
     2.5  
     2.6  static struct file_operations evtchn_fops = {
     2.7 -    owner:    THIS_MODULE,
     2.8 -    read:     evtchn_read,
     2.9 -    write:    evtchn_write,
    2.10 -    ioctl:    evtchn_ioctl,
    2.11 -    poll:     evtchn_poll,
    2.12 -    fasync:   evtchn_fasync,
    2.13 -    open:     evtchn_open,
    2.14 -    release:  evtchn_release
    2.15 +    .owner   = THIS_MODULE,
    2.16 +    .read    = evtchn_read,
    2.17 +    .write   = evtchn_write,
    2.18 +    .ioctl   = evtchn_ioctl,
    2.19 +    .poll    = evtchn_poll,
    2.20 +    .fasync  = evtchn_fasync,
    2.21 +    .open    = evtchn_open,
    2.22 +    .release = evtchn_release,
    2.23  };
    2.24  
    2.25  static struct miscdevice evtchn_miscdev = {
     3.1 --- a/linux-2.6-xen-sparse/drivers/xen/privcmd/privcmd.c	Sat Sep 10 14:24:39 2005 +0000
     3.2 +++ b/linux-2.6-xen-sparse/drivers/xen/privcmd/privcmd.c	Sat Sep 10 14:38:01 2005 +0000
     3.3 @@ -241,8 +241,8 @@ static int privcmd_mmap(struct file * fi
     3.4  }
     3.5  
     3.6  static struct file_operations privcmd_file_ops = {
     3.7 -    ioctl : privcmd_ioctl,
     3.8 -    mmap:   privcmd_mmap
     3.9 +    .ioctl = privcmd_ioctl,
    3.10 +    .mmap  = privcmd_mmap,
    3.11  };
    3.12  
    3.13  
     4.1 --- a/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_dev.c	Sat Sep 10 14:24:39 2005 +0000
     4.2 +++ b/linux-2.6-xen-sparse/drivers/xen/xenbus/xenbus_dev.c	Sat Sep 10 14:38:01 2005 +0000
     4.3 @@ -168,9 +168,9 @@ static int xenbus_dev_release(struct ino
     4.4  }
     4.5  
     4.6  static struct file_operations xenbus_dev_file_ops = {
     4.7 -	ioctl: xenbus_dev_ioctl,
     4.8 -	open: xenbus_dev_open,
     4.9 -	release: xenbus_dev_release
    4.10 +	.ioctl = xenbus_dev_ioctl,
    4.11 +	.open = xenbus_dev_open,
    4.12 +	.release = xenbus_dev_release,
    4.13  };
    4.14  
    4.15  static int __init