]> git.baikalelectronics.ru Git - kernel.git/commit
arcnet: fix macro name when DEBUG is defined
authorTom Rix <trix@redhat.com>
Sun, 17 Jan 2021 18:15:19 +0000 (10:15 -0800)
committerJakub Kicinski <kuba@kernel.org>
Tue, 19 Jan 2021 04:57:43 +0000 (20:57 -0800)
commitbf6be16b00da1960e91d8374239f3f4762713f54
tree5bf39d951fef9f6241998cd8a17df3d8b289af27
parenta157430cec87adb98e16b8319984c087a5167068
arcnet: fix macro name when DEBUG is defined

When DEBUG is defined this error occurs

drivers/net/arcnet/com20020_cs.c:70:15: error: ‘com20020_REG_W_ADDR_HI’
  undeclared (first use in this function);
  did you mean ‘COM20020_REG_W_ADDR_HI’?
       ioaddr, com20020_REG_W_ADDR_HI);
               ^~~~~~~~~~~~~~~~~~~~~~

From reviewing the context, the suggestion is what is meant.

Signed-off-by: Tom Rix <trix@redhat.com>
Acked-by: Joe Perches <joe@perches.com>
Link: https://lore.kernel.org/r/20210117181519.527625-1-trix@redhat.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/arcnet/com20020_cs.c