aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/ieee1394/nodemgr.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/ieee1394/nodemgr.c')
-rw-r--r--drivers/ieee1394/nodemgr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ieee1394/nodemgr.c b/drivers/ieee1394/nodemgr.c
index 629a9d88a0da..faaa5c94fb07 100644
--- a/drivers/ieee1394/nodemgr.c
+++ b/drivers/ieee1394/nodemgr.c
@@ -115,7 +115,7 @@ static int nodemgr_bus_read(struct csr1212_csr *csr, u64 addr, u16 length,
115 115
116static int nodemgr_get_max_rom(quadlet_t *bus_info_data, void *__ci) 116static int nodemgr_get_max_rom(quadlet_t *bus_info_data, void *__ci)
117{ 117{
118 return (CSR1212_BE32_TO_CPU(bus_info_data[2]) >> 8) & 0x3; 118 return (be32_to_cpu(bus_info_data[2]) >> 8) & 0x3;
119} 119}
120 120
121static struct csr1212_bus_ops nodemgr_csr_ops = { 121static struct csr1212_bus_ops nodemgr_csr_ops = {