projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21d8f6c
)
[POWERPC] chrp pci_ops: Use named structure member initializers
author
Nathan Lynch
<ntl@pobox.com>
Thu, 9 Aug 2007 19:18:44 +0000
(
05:18
+1000)
committer
Paul 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/platforms/chrp/pci.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/powerpc/platforms/chrp/pci.c
b/arch/powerpc/platforms/chrp/pci.c
index 28d1647b204e70b2f91462463d05f8309c136a99..0c6dba9823e98aac3cee82cee62a071c6cdc829f 100644
(file)
--- a/
arch/powerpc/platforms/chrp/pci.c
+++ b/
arch/powerpc/platforms/chrp/pci.c
@@
-86,8
+86,8
@@
int gg2_write_config(struct pci_bus *bus, unsigned int devfn, int off,
static struct pci_ops gg2_pci_ops =
{
- gg2_read_config,
- gg2_write_config
+
.read =
gg2_read_config,
+ .write = gg2_write_config,
};
/*
@@
-124,8
+124,8
@@
int rtas_write_config(struct pci_bus *bus, unsigned int devfn, int offset,
static struct pci_ops rtas_pci_ops =
{
- rtas_read_config,
- rtas_write_config
+
.read =
rtas_read_config,
+ .write = rtas_write_config,
};
volatile struct Hydra __iomem *Hydra = NULL;