From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Walmsley Subject: [PATCH 0/4] mach-omap2: resolve remaining sparse issues Date: Thu, 17 Jul 2008 20:52:33 -0600 Message-ID: <20080718024832.20613.30050.stgit@localhost.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Return-path: Received: from utopia.booyaka.com ([72.9.107.138]:42271 "EHLO utopia.booyaka.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750763AbYGRDNF (ORCPT ); Thu, 17 Jul 2008 23:13:05 -0400 Sender: linux-omap-owner@vger.kernel.org List-Id: linux-omap@vger.kernel.org To: linux-omap@vger.kernel.org This series fixes the current set of sparse warnings in arch/arm/mach-omap2 for the omap2_evm_defconfig, n800_defconfig, and omap_3430sdp_defconfig configs. A few checkpatch issues are also addressed. Boot-tested on N800 and 3430SDP ES2. - Paul size: text data bss dec hex filename 2922973 134480 100984 3158437 3031a5 vmlinux.omap2evm.orig 2922941 134480 100984 3158405 303185 vmlinux.omap2evm --- Paul Walmsley (4): SmartReflex: fix sparse issues mach-omap2: fix sparse warnings, some style issues for OMAP2 builds mach-omap2: mark casts between integers and pointers with __force Add prototypes for public functions or declare private functions static: arch/arm/mach-omap2/board-2430sdp-flash.c | 28 ++++++++++++++-------------- arch/arm/mach-omap2/board-n800-audio.c | 14 ++++++++------ arch/arm/mach-omap2/board-n800-camera.c | 2 ++ arch/arm/mach-omap2/board-n800.h | 2 ++ arch/arm/mach-omap2/clock24xx.c | 2 +- arch/arm/mach-omap2/clock24xx.h | 6 ++++-- arch/arm/mach-omap2/clock34xx.h | 9 ++++++--- arch/arm/mach-omap2/gpmc.c | 11 +++++++---- arch/arm/mach-omap2/irq.c | 4 ++-- arch/arm/mach-omap2/mailbox.c | 4 ++-- arch/arm/mach-omap2/mcbsp.c | 2 +- arch/arm/mach-omap2/mmu.h | 4 ++-- arch/arm/mach-omap2/mux.c | 2 +- arch/arm/mach-omap2/pm.c | 3 ++- arch/arm/mach-omap2/pm.h | 16 ++++++++++------ arch/arm/mach-omap2/pm34xx.c | 2 +- arch/arm/mach-omap2/smartreflex.c | 10 ++++++---- arch/arm/mach-omap2/smartreflex.h | 3 +++ include/asm-arm/arch-omap/mailbox.h | 2 ++ include/asm-arm/arch-omap/prcm.h | 4 ++++ 20 files changed, 80 insertions(+), 50 deletions(-)