]> err.no Git - linux-2.6/commitdiff
[POWERPC] tsi108_direct_pci_ops: Use named structure member initializers
authorNathan Lynch <ntl@pobox.com>
Thu, 9 Aug 2007 19:18:46 +0000 (05:18 +1000)
committerPaul Mackerras <paulus@samba.org>
Fri, 17 Aug 2007 01:01:54 +0000 (11:01 +1000)
Signed-off-by: Nathan Lynch <ntl@pobox.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
arch/powerpc/sysdev/tsi108_pci.c

index 90db8a720fedec7198c972fd2e48925a944e37db..cf0bfbd7340189629bb640b1efeecc60b2862cea 100644 (file)
@@ -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)