Commit 72906b65 authored by Kevin Hilman's avatar Kevin Hilman

DaVinci: cleanup global definitions of init functions

Move stuff from common.h into subsystem specific headers.
Signed-off-by: default avatarKevin Hilman <khilman@deeprootsystems.com>
parent e1947516
......@@ -27,14 +27,7 @@
#include <mach/board.h>
#include <mach/emac.h>
#include <mach/i2c.h>
/* other misc. init functions */
void __init davinci_psc_init(void);
void __init davinci_irq_init(void);
void __init davinci_map_common_io(void);
void __init davinci_init_common_hw(void);
#include <mach/serial.h>
static struct davinci_i2c_platform_data i2c_pdata = {
.bus_freq = 20 /* kHz */,
......
......@@ -38,12 +38,8 @@
#include <mach/board.h>
#include <mach/emac.h>
#include <mach/i2c.h>
/* other misc. init functions */
void __init davinci_psc_init(void);
void __init davinci_irq_init(void);
void __init davinci_map_common_io(void);
void __init davinci_init_common_hw(void);
#include <mach/serial.h>
#include <mach/psc.h>
#define DAVINCI_CFC_ATA_BASE 0x01C66000
......
......@@ -15,12 +15,10 @@
struct sys_timer;
extern struct sys_timer davinci_timer;
extern void davinci_serial_init(void);
extern void davinci_irq_init(void);
extern void davinci_psc_config(unsigned int domain, unsigned int id,
char enable);
extern void __init davinci_init_common_hw(void);
void __init davinci_map_common_io(void);
extern void davinci_init_common_hw(void);
extern void davinci_map_common_io(void);
/* parameters describe VBUS sourcing for host mode */
extern void setup_usb(unsigned mA, unsigned potpgt_msec);
......
......@@ -114,4 +114,8 @@
#define DM646X_LPSC_TIMER1 35
#define DM646X_LPSC_ARM_INTC 45
extern void davinci_psc_init(void);
extern void davinci_psc_config(unsigned int domain, unsigned int id,
char enable);
#endif /* __ASM_ARCH_PSC_H */
......@@ -18,4 +18,6 @@
#define DAVINCI_UART1_BASE (IO_PHYS + 0x20400)
#define DAVINCI_UART2_BASE (IO_PHYS + 0x20800)
extern void davinci_serial_init(void);
#endif /* __ASM_ARCH_SERIAL_H */
......@@ -11,8 +11,7 @@
#ifndef __ASM_ARCH_SYSTEM_H
#define __ASM_ARCH_SYSTEM_H
#include <linux/io.h>
#include <mach/hardware.h>
#include <asm/io.h>
extern void davinci_watchdog_reset(void);
......
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