[parisc-linux-cvs] named initializers in struct dino_cfg_ops and struct dino_port_ops
Helge Deller
deller@gmx.de
Tue, 28 Aug 2001 09:03:35 +0200
named initializers in struct dino_cfg_ops and struct dino_port_ops
Index: dino.c
===================================================================
RCS file: /home/cvs/parisc/linux/drivers/gsc/dino.c,v
retrieving revision 1.35
diff -u -r1.35 dino.c
--- dino.c 2001/08/17 04:29:48 1.35
+++ dino.c 2001/08/28 06:59:32
@@ -241,8 +241,12 @@
DINO_CFG_WR(l, 32, 0)
static struct pci_ops dino_cfg_ops = {
- dino_cfg_read8, dino_cfg_read16, dino_cfg_read32,
- dino_cfg_write8, dino_cfg_write16, dino_cfg_write32
+ read_byte: dino_cfg_read8,
+ read_word: dino_cfg_read16,
+ read_dword: dino_cfg_read32,
+ write_byte: dino_cfg_write8,
+ write_word: dino_cfg_write16,
+ write_dword: dino_cfg_write32
};
@@ -294,8 +298,12 @@
DINO_PORT_OUT(l, 32, 0)
struct pci_port_ops dino_port_ops = {
- dino_in8, dino_in16, dino_in32,
- dino_out8, dino_out16, dino_out32
+ inb: dino_in8,
+ inw: dino_in16,
+ inl: dino_in32,
+ outb: dino_out8,
+ outw: dino_out16,
+ outl: dino_out32
};