linux/drivers/staging/dgnc
Lidza Louina 7915dea707 staging: dgnc: driver.h: changes a struct board_t var's type and marker for sparse
This patch changes the board_t->re_map_membase variable
type and marker.

It removes these warnings found in the neo.c,
driver.c and cls.c files:

warning: incorrect type in argument 1 (different address spaces)
  expected void const volatile [noderef] <asn:2>*addr
  got unsigned char volatile *<noident>
warning: incorrect type in argument 2 (different address spaces)
  expected void volatile [noderef] <asn:2>*addr
  got unsigned char volatile *<noident>

The variables passed to readb and writeb need to
be of type u8 with a __iomem marker. These warnings
were popping up everytime the readb and writeb
functions were called with a
board_t->re_map_membase variable.

The change made to the driver.h file adds the marker
and changes the variable type.

Signed-off-by: Lidza Louina <lidza.louina@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-08-26 16:26:55 -07:00
..
dgnc_cls.c staging: dgnc: removes CVS code from files 2013-08-21 10:48:40 -07:00
dgnc_cls.h staging: dgnc: cls_uart_struct: adds marker and changes vars' types for sparse 2013-08-26 16:26:55 -07:00
dgnc_driver.c staging: dgnc: driver.c: removes dgnc_mbuf function 2013-08-22 12:35:26 -07:00
dgnc_driver.h staging: dgnc: driver.h: changes a struct board_t var's type and marker for sparse 2013-08-26 16:26:55 -07:00
dgnc_kcompat.h staging: dgnc: kcompat.h: removes trailing whitespace 2013-08-21 09:43:53 -07:00
dgnc_mgmt.c staging: dgnc: removes CVS code from files 2013-08-21 10:48:40 -07:00
dgnc_mgmt.h staging: dgnc: removes ifdef HAVE_UNLOCKED_IOCTL conditionals 2013-08-20 16:28:40 -07:00
dgnc_neo.c staging: dgnc: neo.c: fixes code indent error 2013-08-21 10:49:47 -07:00
dgnc_neo.h staging: dgnc: neo_uart_struct: adds marker and changes vars' types for sparse 2013-08-26 16:26:55 -07:00
dgnc_pci.h staging: dgnc: removes CVS code from files 2013-08-21 10:48:40 -07:00
dgnc_sysfs.c staging: dgnc: sysfs.c: fixes code indent error 2013-08-21 10:49:47 -07:00
dgnc_sysfs.h staging: dgnc: sysfs.h: removes trailing whitespace 2013-08-21 09:43:54 -07:00
dgnc_trace.c staging: dgnc: removes CVS code from files 2013-08-21 10:48:40 -07:00
dgnc_trace.h staging: dgnc: removes CVS code from files 2013-08-21 10:48:40 -07:00
dgnc_tty.c staging: dgnc: tty.c: fixes code indent error 2013-08-21 10:49:47 -07:00
dgnc_tty.h
dgnc_types.h
digi.h staging: dgnc: fixes struct declaration 2013-08-21 10:48:40 -07:00
dpacompat.h staging: dgnc: dpacompat.h: removes trailing whitespace 2013-08-21 09:44:05 -07:00
Kconfig staging: dgnc: Kconfig: add dependency PCI for it 2013-08-26 06:29:09 -07:00
Makefile staging: dgnc: removes proc code 2013-08-15 10:14:29 -07:00