summaryrefslogtreecommitdiff
path: root/src/soc/intel
diff options
context:
space:
mode:
authorEdward O'Callaghan <eocallaghan@alterapraxis.com>2014-10-31 08:54:41 +1100
committerEdward O'Callaghan <eocallaghan@alterapraxis.com>2014-11-04 13:31:36 +0100
commite408dced63034fcd50dfa34e2af3936034577547 (patch)
tree4a0052fd6e3e0b4d5423f7329bd241c125a4a4d0 /src/soc/intel
parent009600beafee3aea30108fa9b8b1ceb564d64a77 (diff)
Redundant addr '&' operator on func ptr's in struct initiator
Bring code inline to be consistent with the rest of coreboot. See standard - c99std (n1256) 6.3.2.1p4 - to paraphrase, 'expressions that refer to functions get converted to pointers to those functions' Change-Id: I63a7bed5efade37dd7076dbfc9c85d420cf6c92b Signed-off-by: Edward O'Callaghan <eocallaghan@alterapraxis.com> Reviewed-on: http://review.coreboot.org/7290 Tested-by: build bot (Jenkins) Reviewed-by: Kyösti Mälkki <kyosti.malkki@gmail.com>
Diffstat (limited to 'src/soc/intel')
-rw-r--r--src/soc/intel/broadwell/systemagent.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/soc/intel/broadwell/systemagent.c b/src/soc/intel/broadwell/systemagent.c
index 787a62b2ee..2b3ce41c72 100644
--- a/src/soc/intel/broadwell/systemagent.c
+++ b/src/soc/intel/broadwell/systemagent.c
@@ -433,12 +433,12 @@ static void systemagent_enable(device_t dev)
}
static struct device_operations systemagent_ops = {
- .read_resources = &systemagent_read_resources,
- .set_resources = &pci_dev_set_resources,
- .enable_resources = &pci_dev_enable_resources,
- .init = &systemagent_init,
- .enable = &systemagent_enable,
- .ops_pci = &broadwell_pci_ops,
+ .read_resources = systemagent_read_resources,
+ .set_resources = pci_dev_set_resources,
+ .enable_resources = pci_dev_enable_resources,
+ .init = systemagent_init,
+ .enable = systemagent_enable,
+ .ops_pci = broadwell_pci_ops,
};
static const unsigned short systemagent_ids[] = {