drivers: atm: eni: rename macro DAUGTHER_ID to fix spelling mistake
authorColin Ian King <colin.king@canonical.com>
Wed, 28 Dec 2016 17:31:20 +0000 (17:31 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 29 Dec 2016 17:07:01 +0000 (12:07 -0500)
Rename DAUGTHER_ID to DAUGHTER_ID to fix spelling mistake

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/atm/eni.c
drivers/atm/midway.h

index c53a9dd1353f4e473007d81100d5b60fb70524be..623359e407aa20543d5f5e73d7999b48a2322262 100644 (file)
@@ -1779,7 +1779,7 @@ static int eni_do_init(struct atm_dev *dev)
        printk(")\n");
        printk(KERN_NOTICE DEV_LABEL "(itf %d): %s,%s\n",dev->number,
            eni_in(MID_RES_ID_MCON) & 0x200 ? "ASIC" : "FPGA",
-           media_name[eni_in(MID_RES_ID_MCON) & DAUGTHER_ID]);
+           media_name[eni_in(MID_RES_ID_MCON) & DAUGHTER_ID]);
 
        error = suni_init(dev);
        if (error)
index 432525ad5e46929b9d93c2757fef80309b54464f..d8bec0f2a71cba2a2851f1bb5c38bd80bad0f07c 100644 (file)
@@ -56,7 +56,7 @@
 #define MID_CON_SUNI   0x00000040      /* 0: UTOPIA; 1: SUNI */
 #define MID_CON_V6     0x00000020      /* 0: non-pipel UTOPIA (required iff
                                           !CON_SUNI; 1: UTOPIA */
-#define DAUGTHER_ID    0x0000001f      /* daugther board id */
+#define DAUGHTER_ID    0x0000001f      /* daughter board id */
 
 /*
  * Interrupt Status Acknowledge, Interrupt Status & Interrupt Enable