Fix CamelCase names in structure, and references to them:

sendInterruptHandle => send_irq_handle
recvInterruptHandle => recv_irq_handle
recvInterruptVector => recv_irq_vector
recvInterruptShared => recv_irq_shared

Signed-off-by: Benjamin Romer <benjamin.ro...@unisys.com>
---
 .../unisys/common-spar/include/channels/controlvmchannel.h     |  8 ++++----
 drivers/staging/unisys/virthba/virthba.c                       | 10 +++++-----
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git 
a/drivers/staging/unisys/common-spar/include/channels/controlvmchannel.h 
b/drivers/staging/unisys/common-spar/include/channels/controlvmchannel.h
index 20e464e..ce628c1 100644
--- a/drivers/staging/unisys/common-spar/include/channels/controlvmchannel.h
+++ b/drivers/staging/unisys/common-spar/include/channels/controlvmchannel.h
@@ -122,23 +122,23 @@ struct irq_info {
          *   interrupt.  Currently this is used by IOPart-SP to wake
          *   up GP when Data Channel transitions from empty to
          *   non-empty.*/
-       u64 sendInterruptHandle;
+       u64 send_irq_handle;
 
         /**< specifies interrupt handle. It is used to retrieve the
          *   corresponding interrupt pin from Monitor; and the
          *   interrupt pin is used to connect to the corresponding
          *   intrrupt.  Used by IOPart-GP only. */
-       u64 recvInterruptHandle;
+       u64 recv_irq_handle;
 
         /**< specifies interrupt vector. It, interrupt pin, and shared are
          *   used to connect to the corresponding interrupt.  Used by
          *   IOPart-GP only. */
-       u32 recvInterruptVector;
+       u32 recv_irq_vector;
 
     /**< specifies if the recvInterrupt is shared.  It, interrupt pin
      *   and vector are used to connect to 0 = not shared; 1 = shared.
      *   the corresponding interrupt.  Used by IOPart-GP only. */
-       u8 recvInterruptShared;
+       u8 recv_irq_shared;
        u8 reserved[3]; /* Natural alignment purposes */
 };
 
diff --git a/drivers/staging/unisys/virthba/virthba.c 
b/drivers/staging/unisys/virthba/virthba.c
index 4015933..3a037f41 100644
--- a/drivers/staging/unisys/virthba/virthba.c
+++ b/drivers/staging/unisys/virthba/virthba.c
@@ -603,16 +603,16 @@ virthba_probe(struct virtpci_dev *virtpcidev, const 
struct pci_device_id *id)
                return -ENODEV;
        }
        LOGINF("sendInterruptHandle=0x%16llX",
-              virthbainfo->intr.sendInterruptHandle);
+              virthbainfo->intr.send_irq_handle);
        LOGINF("recvInterruptHandle=0x%16llX",
-              virthbainfo->intr.recvInterruptHandle);
+              virthbainfo->intr.recv_irq_handle);
        LOGINF("recvInterruptVector=0x%8X",
-              virthbainfo->intr.recvInterruptVector);
+              virthbainfo->intr.recv_irq_vector);
        LOGINF("recvInterruptShared=0x%2X",
-              virthbainfo->intr.recvInterruptShared);
+              virthbainfo->intr.recv_irq_shared);
        LOGINF("scsihost.hostt->name=%s", scsihost->hostt->name);
        virthbainfo->interrupt_vector =
-           virthbainfo->intr.recvInterruptHandle & INTERRUPT_VECTOR_MASK;
+           virthbainfo->intr.recv_irq_handle & INTERRUPT_VECTOR_MASK;
        rsp = request_irq(virthbainfo->interrupt_vector, handler, IRQF_SHARED,
                          scsihost->hostt->name, virthbainfo);
        if (rsp != 0) {
-- 
1.9.1

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to