From: Paul Walmsley Date: Wed, 7 May 2008 17:52:02 +0000 (-0600) Subject: Fix remaining sparse warnings in arch/arm/mach-omap2 X-Git-Tag: v2.6.26-omap1~123^2~125 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cdda2a9adbc5421f4857e0313afc6c189f422e25;p=pandora-kernel.git Fix remaining sparse warnings in arch/arm/mach-omap2 Fix remaining sparse warnings in arch/arm/mach-omap2/. These fixes mostly consist of: - tagging appropriate integer<->pointer casts with __force - marking private structures and functions as static; adding function prototypes in .h files for public functions - assigning NULL to pointers, not 0 - adding prototypes for *_init() functions in the appropriate header files, and getting rid of the corresponding open-coded extern prototypes in other C files Also clean up checkpatch issues - this mostly involves converting some asm/ includes to linux/ includes. While here, shrink some bitfields in struct omap_pwm_led_platform_data down to the smallest possible type. Signed-off-by: Tony Lindgren --- Reading git-diff-tree failed