]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
hamradio: baycom: fix old-style declaration
authorArnd Bergmann <arnd@arndb.de>
Thu, 16 Jun 2016 13:52:11 +0000 (15:52 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 17 Jun 2016 05:06:30 +0000 (22:06 -0700)
commit60a25d00db94f71d905952b11c5825f2d0e6ec07
tree47c91c67a3c119e939b87fbf89faa0127eb62c08
parentbe4da0e340ed2a17b1a55cbe81d6bc251710ff72
hamradio: baycom: fix old-style declaration

Modern C standards expect the '__inline__' keyword to come before the return
type in a declaration, and we get a warning for this with "make W=1":

drivers/net/hamradio/baycom_par.c:159:1: error: '__inline__' is not at beginning of declaration [-Werror=old-style-declaration]

For consistency with other drivers, I'm changing '__inline__' to 'inline'
at the same time.

Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/hamradio/baycom_par.c