aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/firewire/ohci.c
diff options
context:
space:
mode:
authorStefan Richter <stefanr@s5r6.in-berlin.de>2010-06-12 14:35:52 -0400
committerStefan Richter <stefanr@s5r6.in-berlin.de>2010-06-19 07:01:41 -0400
commit0fcff4e39323f466a47684d7c8ffa77e1be86c8a (patch)
treecdbe9d239ae59c18a48a34d937da3f658c61e873 /drivers/firewire/ohci.c
parentb384cf18873da1ed100662aa7373edf5883a1c24 (diff)
firewire: rename CSR access driver methods
Rather than "read a Control and Status Registers (CSR) Architecture register" I prefer to say "read a Control and Status Register". Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
Diffstat (limited to 'drivers/firewire/ohci.c')
-rw-r--r--drivers/firewire/ohci.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/firewire/ohci.c b/drivers/firewire/ohci.c
index a55cf0911b72..a4bbf3dadf58 100644
--- a/drivers/firewire/ohci.c
+++ b/drivers/firewire/ohci.c
@@ -2026,7 +2026,7 @@ static int ohci_enable_phys_dma(struct fw_card *card,
2026#endif /* CONFIG_FIREWIRE_OHCI_REMOTE_DMA */ 2026#endif /* CONFIG_FIREWIRE_OHCI_REMOTE_DMA */
2027} 2027}
2028 2028
2029static u32 ohci_read_csr_reg(struct fw_card *card, int csr_offset) 2029static u32 ohci_read_csr(struct fw_card *card, int csr_offset)
2030{ 2030{
2031 struct fw_ohci *ohci = fw_ohci(card); 2031 struct fw_ohci *ohci = fw_ohci(card);
2032 unsigned long flags; 2032 unsigned long flags;
@@ -2077,7 +2077,7 @@ static u32 ohci_read_csr_reg(struct fw_card *card, int csr_offset)
2077 } 2077 }
2078} 2078}
2079 2079
2080static void ohci_write_csr_reg(struct fw_card *card, int csr_offset, u32 value) 2080static void ohci_write_csr(struct fw_card *card, int csr_offset, u32 value)
2081{ 2081{
2082 struct fw_ohci *ohci = fw_ohci(card); 2082 struct fw_ohci *ohci = fw_ohci(card);
2083 unsigned long flags; 2083 unsigned long flags;
@@ -2576,8 +2576,8 @@ static const struct fw_card_driver ohci_driver = {
2576 .send_response = ohci_send_response, 2576 .send_response = ohci_send_response,
2577 .cancel_packet = ohci_cancel_packet, 2577 .cancel_packet = ohci_cancel_packet,
2578 .enable_phys_dma = ohci_enable_phys_dma, 2578 .enable_phys_dma = ohci_enable_phys_dma,
2579 .read_csr_reg = ohci_read_csr_reg, 2579 .read_csr = ohci_read_csr,
2580 .write_csr_reg = ohci_write_csr_reg, 2580 .write_csr = ohci_write_csr,
2581 2581
2582 .allocate_iso_context = ohci_allocate_iso_context, 2582 .allocate_iso_context = ohci_allocate_iso_context,
2583 .free_iso_context = ohci_free_iso_context, 2583 .free_iso_context = ohci_free_iso_context,