From mboxrd@z Thu Jan 1 00:00:00 1970 From: Russell King - ARM Linux Subject: MSM's mach/system.h Date: Sat, 7 Jan 2012 10:59:51 +0000 Message-ID: <20120107105950.GD13857@n2100.arm.linux.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from caramon.arm.linux.org.uk ([78.32.30.218]:49376 "EHLO caramon.arm.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752021Ab2AGLAT (ORCPT ); Sat, 7 Jan 2012 06:00:19 -0500 Content-Disposition: inline Sender: linux-arm-msm-owner@vger.kernel.org List-Id: linux-arm-msm@vger.kernel.org To: David Brown , Daniel Walker , Bryan Huntsman Cc: linux-arm-msm@vger.kernel.org, linux-arm-kernel@lists.infradead.org Guys, MSM's mach/system.h is now almost empty, except for this: extern void (*msm_hw_reset_hook)(void); Grepping around for this, I find only one place where it's called, and nowhere it's set: $ grep -r msm_hw_reset_hook arch/arm/*msm* drivers/ arch/arm/mach-msm/include/mach/system.h:extern void (*msm_hw_reset_hook)(void); arch/arm/mach-msm/smd.c:void (*msm_hw_reset_hook)(void); arch/arm/mach-msm/smd.c: if (msm_hw_reset_hook) arch/arm/mach-msm/smd.c: msm_hw_reset_hook(); As we've virtually eliminated the mach/system.h include (the only remaining ones apart from this are the three unconverted platforms for the restart changes), can this declaration move to somewhere else, or can this read-only hook be removed? Thanks.