2.6.0-t3: struct C99 initialiser conversion
Subsystems (2)
PATCH 5/10 2.6.0-t3: struct C99 initialiser conversion
linux/arch/ patch (excluding ia64, mips and sh which were sent in seperate emails)
Signature · 3 lines
"How can I not love the Americans? They helped me with a flat tire the other day," he said. - http://tinyurl.com/h6fo
arch/alpha/kernel/core_titan.c +6 -6
@@ -718,12 +718,12 @@struct alpha_agp_ops titan_agp_ops = { - setup: titan_agp_setup, - cleanup: titan_agp_cleanup, - configure: titan_agp_configure, - bind: titan_agp_bind_memory, - unbind: titan_agp_unbind_memory, - translate: titan_agp_translate + .setup = titan_agp_setup, + .cleanup = titan_agp_cleanup, + .configure = titan_agp_configure, + .bind = titan_agp_bind_memory, + .unbind = titan_agp_unbind_memory, + .translate = titan_agp_translate }; alpha_agp_info *
arch/arm/kernel/apm.c +9 -9
@@ -388,18 +388,18 @@ }static struct file_operations apm_bios_fops = { - owner:THIS_MODULE , - read: apm_read, - poll: apm_poll, - ioctl: apm_ioctl, - open: apm_open, - release: apm_release, + .owner =THIS_MODULE , + .read = apm_read, + .poll = apm_poll, + .ioctl = apm_ioctl, + .open = apm_open, + .release = apm_release, };static struct miscdevice apm_device = { - minor:APM_MINOR_DEV , - name:"apm_bios" , - fops: &apm_bios_fops + .minor =APM_MINOR_DEV , + .name ="apm_bios" , + .fops = &apm_bios_fops };
arch/arm26/kernel/setup.c +6 -6
@@ -304,12 +304,12 @@#if defined(CONFIG_DUMMY_CONSOLE )struct screen_info screen_info = { - orig_video_lines:30 , - orig_video_cols:80 , - orig_video_mode:0 , - orig_video_ega_bx:0 , - orig_video_isVGA:1 , - orig_video_points:8 + .orig_video_lines =30 , + .orig_video_cols =80 , + .orig_video_mode =0 , + .orig_video_ega_bx =0 , + .orig_video_isVGA =1 , + .orig_video_points =8 };static int __init parse_tag_videotext (const struct tag *tag)
arch/cris/arch-v10/drivers/pcf8563.c +4 -4
@@ -57,10 +57,10 @@int pcf8563_release (struct inode *,struct file *);static struct file_operations pcf8563_fops = { - owner:THIS_MODULE , - ioctl: pcf8563_ioctl, - open: pcf8563_open, - release: pcf8563_release, + .owner =THIS_MODULE , + .ioctl = pcf8563_ioctl, + .open = pcf8563_open, + .release = pcf8563_release, };unsigned char
arch/h8300/kernel/setup.c +10 -10
@@ -91,12 +91,12 @@ }static const struct console gdb_console = { - name:"gdb_con" , - write: gdb_console_output, - device:NULL , - setup: gdb_console_setup, - flags:CON_PRINTBUFFER , - index:-1 , + .name ="gdb_con" , + .write = gdb_console_output, + .device =NULL , + .setup = gdb_console_setup, + .flags =CON_PRINTBUFFER , + .index =-1 , };#endif
@@ -260,8 +260,8 @@ }struct seq_operations cpuinfo_op = { - start: c_start, - next: c_next, - stop: c_stop, - show: show_cpuinfo, + .start = c_start, + .next = c_next, + .stop = c_stop, + .show = show_cpuinfo, };
arch/ppc64/kernel/proc_ppc64.c +3 -3
@@ -47,9 +47,9 @@static int page_map_mmap (struct file *file,struct vm_area_struct *vma );static struct file_operations page_map_fops = { - llseek: page_map_seek, - read: page_map_read, - mmap: page_map_mmap + .llseek = page_map_seek, + .read = page_map_read, + .mmap = page_map_mmap };
arch/ppc64/kernel/scanlog.c +5 -5
@@ -190,11 +190,11 @@ }struct file_operations scanlog_fops = { - owner:THIS_MODULE , - read: scanlog_read, - write: scanlog_write, - open: scanlog_open, - release: scanlog_release, + .owner =THIS_MODULE , + .read = scanlog_read, + .write = scanlog_write, + .open = scanlog_open, + .release = scanlog_release, };int __init scanlog_init (void )