Skip to content

Commit

Permalink
drivers: atm: eni: rename macro DAUGTHER_ID to fix spelling mistake
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Colin Ian King authored and David S. Miller committed Dec 29, 2016
1 parent de8499c commit ae7cd93
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion drivers/atm/eni.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion drivers/atm/midway.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ae7cd93

Please sign in to comment.