OSDN Git Service

misc: aspeed-p2a-ctrl: fix mixed declarations
authorPatrick Venture <venture@google.com>
Fri, 26 Apr 2019 16:56:55 +0000 (09:56 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 27 Apr 2019 12:54:13 +0000 (14:54 +0200)
commit94001602d6bb21adbb4fa991d42b0c5d8a69db48
treec38848c731c1cf135a7022eaa96fb2af4d2393a6
parent2d1c31cb642b44e3d621643b8d30e15e5e4df4e4
misc: aspeed-p2a-ctrl: fix mixed declarations

Fix up mixed declarations and code in aspeed_p2a_mmap.

Tested: Verified the build had the error and that this patch resolved it
and there were no other warnings or build errors associated with
compilation of this driver.

Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Patrick Venture <venture@google.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/misc/aspeed-p2a-ctrl.c