Commit 4abf9adc authored by Paul Cercueil's avatar Paul Cercueil Committed by Stephen Boyd

MIPS: Remove dead code

Remove the unused <asm/mach-jz4740/clock.h> include.
Signed-off-by: default avatarPaul Cercueil <paul@crapouillou.net>
Acked-by: default avatarPaul Burton <paul.burton@mips.com>
Signed-off-by: default avatarStephen Boyd <sboyd@kernel.org>
parent 9a838844
/*
* Copyright (C) 2010, Lars-Peter Clausen <lars@metafoo.de>
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 675 Mass Ave, Cambridge, MA 02139, USA.
*
*/
#ifndef __ASM_JZ4740_CLOCK_H__
#define __ASM_JZ4740_CLOCK_H__
enum jz4740_wait_mode {
JZ4740_WAIT_MODE_IDLE,
JZ4740_WAIT_MODE_SLEEP,
};
void jz4740_clock_set_wait_mode(enum jz4740_wait_mode mode);
void jz4740_clock_suspend(void);
void jz4740_clock_resume(void);
void jz4740_clock_udc_enable_auto_suspend(void);
void jz4740_clock_udc_disable_auto_suspend(void);
#endif
...@@ -40,8 +40,6 @@ ...@@ -40,8 +40,6 @@
#include <asm/mach-jz4740/platform.h> #include <asm/mach-jz4740/platform.h>
#include "clock.h"
/* GPIOs */ /* GPIOs */
#define QI_LB60_GPIO_KEYOUT(x) (JZ_GPIO_PORTC(10) + (x)) #define QI_LB60_GPIO_KEYOUT(x) (JZ_GPIO_PORTC(10) + (x))
#define QI_LB60_GPIO_KEYIN(x) (JZ_GPIO_PORTD(18) + (x)) #define QI_LB60_GPIO_KEYIN(x) (JZ_GPIO_PORTD(18) + (x))
......
...@@ -30,8 +30,6 @@ ...@@ -30,8 +30,6 @@
#include <linux/serial_core.h> #include <linux/serial_core.h>
#include <linux/serial_8250.h> #include <linux/serial_8250.h>
#include "clock.h"
/* USB Device Controller */ /* USB Device Controller */
struct platform_device jz4740_udc_xceiv_device = { struct platform_device jz4740_udc_xceiv_device = {
.name = "usb_phy_generic", .name = "usb_phy_generic",
......
...@@ -22,13 +22,10 @@ ...@@ -22,13 +22,10 @@
#include <linux/clockchips.h> #include <linux/clockchips.h>
#include <linux/sched_clock.h> #include <linux/sched_clock.h>
#include <asm/mach-jz4740/clock.h>
#include <asm/mach-jz4740/irq.h> #include <asm/mach-jz4740/irq.h>
#include <asm/mach-jz4740/timer.h> #include <asm/mach-jz4740/timer.h>
#include <asm/time.h> #include <asm/time.h>
#include "clock.h"
#define TIMER_CLOCKEVENT 0 #define TIMER_CLOCKEVENT 0
#define TIMER_CLOCKSOURCE 1 #define TIMER_CLOCKSOURCE 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment