]> git.karo-electronics.de Git - linux-beck.git/commit
staging: xillybus: Fixed sparse errors
authorEli Billauer <eli.billauer@gmail.com>
Wed, 31 Jul 2013 08:22:43 +0000 (11:22 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 1 Aug 2013 00:41:56 +0000 (17:41 -0700)
commit7ee9ded220199f3be0b5d587ff9e2a1fdf7b6e2c
tree6e3e732e598ccfd5cc82f650cafe70502b475dd4
parent853a57f2d3f1f1126c3bd6a04a1efdee851fe546
staging: xillybus: Fixed sparse errors

Changes:

* xillybus.h: __iomem added to struct xilly_endpoint -> registers to suppress
  "different address spaces" errors.

* xillybus_core.c: __user added as required for the same reason.

* The two member names of struct xilly_endpoint_hardware of the form
  sync_single_for_{cpu,device} were changed to something that won't look
  like the well-known functions.

* All *.c files: Variables and functions made static as required.

Reported-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Eli Billauer <eli.billauer@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/xillybus/xillybus.h
drivers/staging/xillybus/xillybus_core.c
drivers/staging/xillybus/xillybus_of.c
drivers/staging/xillybus/xillybus_pcie.c