]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: PL08x: avoid 'void *' struct fields when we can type them properly
authorRussell King - ARM Linux <linux@arm.linux.org.uk>
Mon, 3 Jan 2011 22:35:28 +0000 (22:35 +0000)
committerDan Williams <dan.j.williams@intel.com>
Wed, 5 Jan 2011 03:16:11 +0000 (19:16 -0800)
commit8e6c6628000a972f0bc07a3bf8b299c338f07235
treeeb6ea7ae69b7a8c2caef7d10eaec1a4dcf1110b4
parentcbdc571f572cdbd6f9e41de148101961da798062
ARM: PL08x: avoid 'void *' struct fields when we can type them properly

Avoid using 'void *' struct fields when the structs are not defined
in linux/amba/pl08x.h - instead, forward declare the struct names, and
use these instead.  This ensures we have proper typechecking.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Acked-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dma/amba-pl08x.c
include/linux/amba/pl08x.h