aboutsummaryrefslogtreecommitdiff
path: root/arch/powerpc/sysdev/tsi108_pci.c
diff options
context:
space:
mode:
authorNathan Lynch <ntl@pobox.com>2007-08-10 05:18:46 +1000
committerPaul Mackerras <paulus@samba.org>2007-08-17 11:01:54 +1000
commit8935fa0fe6f87c4df806f605de04aed4353c7600 (patch)
treef615f0b20495d96bedb25f74bf86b5799f070131 /arch/powerpc/sysdev/tsi108_pci.c
parentc78d453b6f95ff38a2226f6f77a4b08a6e27fc42 (diff)
[POWERPC] tsi108_direct_pci_ops: Use named structure member initializers
Signed-off-by: Nathan Lynch <ntl@pobox.com> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/sysdev/tsi108_pci.c')
-rw-r--r--arch/powerpc/sysdev/tsi108_pci.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/powerpc/sysdev/tsi108_pci.c b/arch/powerpc/sysdev/tsi108_pci.c
index 90db8a720fe..cf0bfbd7340 100644
--- a/arch/powerpc/sysdev/tsi108_pci.c
+++ b/arch/powerpc/sysdev/tsi108_pci.c
@@ -193,8 +193,8 @@ void tsi108_clear_pci_cfg_error(void)
}
static struct pci_ops tsi108_direct_pci_ops = {
- tsi108_direct_read_config,
- tsi108_direct_write_config
+ .read = tsi108_direct_read_config,
+ .write = tsi108_direct_write_config,
};
int __init tsi108_setup_pci(struct device_node *dev, u32 cfg_phys, int primary)