mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-02-03 09:34:42 +00:00
ARM: msm: Remove msm_hw_reset_hook
This reset hook is never assigned and is dead code. Remove it so we have one less header file in the mach directory. Signed-off-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: David Brown <davidb@codeaurora.org>
This commit is contained in:
parent
28a33cbc24
commit
085eea143e
@ -30,7 +30,6 @@
|
|||||||
|
|
||||||
#include <mach/board.h>
|
#include <mach/board.h>
|
||||||
#include <mach/hardware.h>
|
#include <mach/hardware.h>
|
||||||
#include <mach/system.h>
|
|
||||||
|
|
||||||
#include "board-mahimahi.h"
|
#include "board-mahimahi.h"
|
||||||
#include "devices.h"
|
#include "devices.h"
|
||||||
|
@ -27,7 +27,6 @@
|
|||||||
#include <asm/mach/arch.h>
|
#include <asm/mach/arch.h>
|
||||||
#include <asm/mach/map.h>
|
#include <asm/mach/map.h>
|
||||||
#include <asm/mach/flash.h>
|
#include <asm/mach/flash.h>
|
||||||
#include <mach/system.h>
|
|
||||||
#include <mach/vreg.h>
|
#include <mach/vreg.h>
|
||||||
#include <mach/board.h>
|
#include <mach/board.h>
|
||||||
|
|
||||||
|
@ -1,19 +0,0 @@
|
|||||||
/* arch/arm/mach-msm/include/mach/system.h
|
|
||||||
*
|
|
||||||
* Copyright (C) 2007 Google, Inc.
|
|
||||||
*
|
|
||||||
* This software is licensed under the terms of the GNU General Public
|
|
||||||
* License version 2, as published by the Free Software Foundation, and
|
|
||||||
* may be copied, distributed, and modified under those terms.
|
|
||||||
*
|
|
||||||
* This program is distributed in the hope that it will be useful,
|
|
||||||
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
* GNU General Public License for more details.
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* low level hardware reset hook -- for example, hitting the
|
|
||||||
* PSHOLD line on the PMIC to hard reset the system
|
|
||||||
*/
|
|
||||||
extern void (*msm_hw_reset_hook)(void);
|
|
@ -19,7 +19,6 @@
|
|||||||
#include <linux/io.h>
|
#include <linux/io.h>
|
||||||
#include <linux/spinlock.h>
|
#include <linux/spinlock.h>
|
||||||
#include <mach/msm_iomap.h>
|
#include <mach/msm_iomap.h>
|
||||||
#include <mach/system.h>
|
|
||||||
|
|
||||||
#include "proc_comm.h"
|
#include "proc_comm.h"
|
||||||
|
|
||||||
|
@ -30,7 +30,6 @@
|
|||||||
#include <linux/delay.h>
|
#include <linux/delay.h>
|
||||||
|
|
||||||
#include <mach/msm_smd.h>
|
#include <mach/msm_smd.h>
|
||||||
#include <mach/system.h>
|
|
||||||
|
|
||||||
#include "smd_private.h"
|
#include "smd_private.h"
|
||||||
#include "proc_comm.h"
|
#include "proc_comm.h"
|
||||||
@ -39,8 +38,6 @@
|
|||||||
#define CONFIG_QDSP6 1
|
#define CONFIG_QDSP6 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void (*msm_hw_reset_hook)(void);
|
|
||||||
|
|
||||||
#define MODULE_NAME "msm_smd"
|
#define MODULE_NAME "msm_smd"
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
@ -101,10 +98,6 @@ static void handle_modem_crash(void)
|
|||||||
pr_err("ARM9 has CRASHED\n");
|
pr_err("ARM9 has CRASHED\n");
|
||||||
smd_diag();
|
smd_diag();
|
||||||
|
|
||||||
/* hard reboot if possible */
|
|
||||||
if (msm_hw_reset_hook)
|
|
||||||
msm_hw_reset_hook();
|
|
||||||
|
|
||||||
/* in this case the modem or watchdog should reboot us */
|
/* in this case the modem or watchdog should reboot us */
|
||||||
for (;;)
|
for (;;)
|
||||||
;
|
;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user