net: usb: r8152: fix "duplicate 'const' declaration specifier"
authorPhilipp Tomsich <philipp.tomsich@theobroma-systems.com>
Sun, 25 Jun 2017 20:47:15 +0000 (22:47 +0200)
committerJoe Hershberger <joe.hershberger@ni.com>
Mon, 7 Aug 2017 20:18:29 +0000 (15:18 -0500)
commit734f9abd179eb0d9b550993d50e4966ad0d99e92
tree332c50d01bf55c237b86ee1f98d8fc5d20d2e9e4
parent0c1b869b2eb27a8acb2db24c5b2b685af21ba7f2
net: usb: r8152: fix "duplicate 'const' declaration specifier"

After upgrading to GCC 7.1, the duplicate const specifies in the
r8152 driver trigger the following build warnings with buildman
(observed on a 'buildman rockchip' test)::
  ../drivers/usb/eth/r8152.c:62:35: warning: duplicate 'const' declaration specifier [-Wduplicate-decl-specifier]
   static const struct r8152_version const r8152_versions[] = {
                                     ^~~~~

This commit fixes these by removing the duplicate 'const' specifier
from the declarations.

Signed-off-by: Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/usb/eth/r8152.c