[parisc-linux-cvs] Designated initializers for HIL drivers
Helge Deller
deller@gmx.de
Sun, 6 Oct 2002 15:20:28 +0200
--Boundary-00=_ciDo9VsFVzS2DxP
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 8bit
Content-Disposition: inline
On Sunday 06 October 2002 15:24, Helge Deller wrote:
> CVSROOT: /var/cvs
> Module name: linux-2.5
> Changes by: deller 02/10/06 07:24:18
>
> Modified files:
> drivers/hil : hil_kbd.c hil_ptr.c hilkbd.c hp_sdc.c
> hp_sdc_rtc.c
>
> Log message:
> Designated initializers for HIL drivers
--Boundary-00=_ciDo9VsFVzS2DxP
Content-Type: text/plain;
charset="iso-8859-1";
name="diff2"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="diff2"
Index: hil_kbd.c
===================================================================
RCS file: /var/cvs/linux-2.5/drivers/hil/hil_kbd.c,v
retrieving revision 1.1
diff -u -p -r1.1 hil_kbd.c
--- hil_kbd.c 19 Jul 2002 15:54:24 -0000 1.1
+++ hil_kbd.c 6 Oct 2002 13:23:35 -0000
@@ -431,9 +431,9 @@ static void hil_kbd_connect(struct serio
struct serio_dev hil_kbd_serio_dev = {
- connect: hil_kbd_connect,
- disconnect: hil_kbd_disconnect,
- interrupt: hil_kbd_interrupt
+ .connect = hil_kbd_connect,
+ .disconnect = hil_kbd_disconnect,
+ .interrupt = hil_kbd_interrupt
};
static int __init hil_kbd_init(void)
Index: hil_ptr.c
===================================================================
RCS file: /var/cvs/linux-2.5/drivers/hil/hil_ptr.c,v
retrieving revision 1.1
diff -u -p -r1.1 hil_ptr.c
--- hil_ptr.c 19 Jul 2002 15:54:24 -0000 1.1
+++ hil_ptr.c 6 Oct 2002 13:23:35 -0000
@@ -386,9 +386,9 @@ static void hil_ptr_connect(struct serio
struct serio_dev hil_ptr_serio_dev = {
- connect: hil_ptr_connect,
- disconnect: hil_ptr_disconnect,
- interrupt: hil_ptr_interrupt
+ .connect = hil_ptr_connect,
+ .disconnect = hil_ptr_disconnect,
+ .interrupt = hil_ptr_interrupt
};
static int __init hil_ptr_init(void)
Index: hilkbd.c
===================================================================
RCS file: /var/cvs/linux-2.5/drivers/hil/hilkbd.c,v
retrieving revision 1.1
diff -u -p -r1.1 hilkbd.c
--- hilkbd.c 19 Jul 2002 15:54:24 -0000 1.1
+++ hilkbd.c 6 Oct 2002 13:23:36 -0000
@@ -348,9 +348,9 @@ static struct parisc_device_id hil_tbl[]
MODULE_DEVICE_TABLE(parisc, hil_tbl);
static struct parisc_driver hil_driver = {
- name: "HIL",
- id_table: hil_tbl,
- probe: hil_init_chip,
+ .name = "HIL",
+ .id_table = hil_tbl,
+ .probe = hil_init_chip,
};
#endif /* CONFIG_PARISC */
Index: hp_sdc.c
===================================================================
RCS file: /var/cvs/linux-2.5/drivers/hil/hp_sdc.c,v
retrieving revision 1.1
diff -u -p -r1.1 hp_sdc.c
--- hp_sdc.c 19 Jul 2002 15:54:24 -0000 1.1
+++ hp_sdc.c 6 Oct 2002 13:23:37 -0000
@@ -745,10 +745,10 @@ void hp_sdc_kicker (unsigned long data)
static struct parisc_device_id hp_sdc_tbl[] = {
{
- hw_type: HPHW_FIO,
- hversion_rev: HVERSION_REV_ANY_ID,
- hversion: HVERSION_ANY_ID,
- sversion: 0x73,
+ .hw_type = HPHW_FIO,
+ .hversion_rev = HVERSION_REV_ANY_ID,
+ .hversion = HVERSION_ANY_ID,
+ .sversion = 0x73,
},
{ 0, }
};
@@ -758,9 +758,9 @@ MODULE_DEVICE_TABLE(parisc, hp_sdc_tbl);
static int __init hp_sdc_init(struct parisc_device *d);
static struct parisc_driver hp_sdc_driver = {
- name: "HP SDC",
- id_table: hp_sdc_tbl,
- probe: hp_sdc_init,
+ .name = "HP SDC",
+ .id_table = hp_sdc_tbl,
+ .probe = hp_sdc_init,
};
static int __init hp_sdc_init(struct parisc_device *d)
Index: hp_sdc_rtc.c
===================================================================
RCS file: /var/cvs/linux-2.5/drivers/hil/hp_sdc_rtc.c,v
retrieving revision 1.1
diff -u -p -r1.1 hp_sdc_rtc.c
--- hp_sdc_rtc.c 19 Jul 2002 15:54:24 -0000 1.1
+++ hp_sdc_rtc.c 6 Oct 2002 13:23:37 -0000
@@ -674,20 +674,20 @@ static int hp_sdc_rtc_ioctl(struct inode
}
static struct file_operations hp_sdc_rtc_fops = {
- owner: THIS_MODULE,
- llseek: hp_sdc_rtc_llseek,
- read: hp_sdc_rtc_read,
- poll: hp_sdc_rtc_poll,
- ioctl: hp_sdc_rtc_ioctl,
- open: hp_sdc_rtc_open,
- release: hp_sdc_rtc_release,
- fasync: hp_sdc_rtc_fasync,
+ .owner = THIS_MODULE,
+ .llseek = hp_sdc_rtc_llseek,
+ .read = hp_sdc_rtc_read,
+ .poll = hp_sdc_rtc_poll,
+ .ioctl = hp_sdc_rtc_ioctl,
+ .open = hp_sdc_rtc_open,
+ .release = hp_sdc_rtc_release,
+ .fasync = hp_sdc_rtc_fasync,
};
static struct miscdevice hp_sdc_rtc_dev = {
- minor: RTC_MINOR,
- name: "rtc",
- fops: &hp_sdc_rtc_fops
+ .minor = RTC_MINOR,
+ .name = "rtc",
+ .fops = &hp_sdc_rtc_fops
};
static int __init hp_sdc_rtc_init(void)
--Boundary-00=_ciDo9VsFVzS2DxP--