[ARM] pxa: move platform devices to separate header file

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
This commit is contained in:
Russell King 2007-05-15 15:39:36 +01:00 committed by Russell King
parent 34f3231f43
commit 46c41e62a1
14 changed files with 23 additions and 12 deletions

View File

@ -44,6 +44,7 @@
#include <asm/hardware/scoop.h>
#include "generic.h"
#include "devices.h"
#include "sharpsl.h"

View File

@ -0,0 +1,11 @@
extern struct platform_device pxamci_device;
extern struct platform_device pxaudc_device;
extern struct platform_device pxafb_device;
extern struct platform_device ffuart_device;
extern struct platform_device btuart_device;
extern struct platform_device stuart_device;
extern struct platform_device hwuart_device;
extern struct platform_device pxai2c_device;
extern struct platform_device pxai2s_device;
extern struct platform_device pxaficp_device;
extern struct platform_device pxartc_device;

View File

@ -43,6 +43,7 @@
#include <asm/arch/irda.h>
#include <asm/arch/i2c.h>
#include "devices.h"
#include "generic.h"
/*

View File

@ -26,14 +26,3 @@ extern unsigned int get_clk_frequency_khz(int info);
mi->bank[__nr].size = (__size), \
mi->bank[__nr].node = (((unsigned)(__start) - PHYS_OFFSET) >> 27)
extern struct platform_device pxamci_device;
extern struct platform_device pxaudc_device;
extern struct platform_device pxafb_device;
extern struct platform_device ffuart_device;
extern struct platform_device btuart_device;
extern struct platform_device stuart_device;
extern struct platform_device hwuart_device;
extern struct platform_device pxai2c_device;
extern struct platform_device pxai2s_device;
extern struct platform_device pxaficp_device;
extern struct platform_device pxartc_device;

View File

@ -38,6 +38,7 @@
#include <asm/arch/mmc.h>
#include "generic.h"
#include "devices.h"
/* TODO:
* - add pxa2xx_audio_ops_t device structure

View File

@ -46,6 +46,7 @@
#include <asm/arch/ohci.h>
#include "generic.h"
#include "devices.h"
static unsigned int lpd270_irq_enabled;

View File

@ -48,6 +48,7 @@
#include <asm/arch/mmc.h>
#include "generic.h"
#include "devices.h"
#define LUB_MISC_WR __LUB_REG(LUBBOCK_FPGA_PHYS + 0x080)

View File

@ -46,6 +46,7 @@
#include <asm/arch/ohci.h>
#include "generic.h"
#include "devices.h"
static unsigned long mainstone_irq_enabled;

View File

@ -45,6 +45,7 @@
#include <asm/mach/sharpsl_param.h>
#include "generic.h"
#include "devices.h"
#include "sharpsl.h"
static struct resource poodle_scoop_resources[] = {

View File

@ -29,6 +29,7 @@
#include <asm/arch/dma.h>
#include "generic.h"
#include "devices.h"
/*
* Various clock factors driven by the CCCR register.

View File

@ -26,6 +26,7 @@
#include <asm/arch/dma.h>
#include "generic.h"
#include "devices.h"
/* Crystal clock: 13MHz */
#define BASE_CLK 13000000

View File

@ -48,6 +48,7 @@
#include <asm/hardware/scoop.h>
#include "generic.h"
#include "devices.h"
#include "sharpsl.h"
/*

View File

@ -42,7 +42,7 @@
#include <asm/mach/sharpsl_param.h>
#include "generic.h"
#include "devices.h"
/*
* SCOOP Device

View File

@ -49,6 +49,7 @@
#include <asm/arch/ohci.h>
#include "generic.h"
#include "devices.h"
/********************************************************************************************
* ONBOARD FLASH