mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 17:30:02 +00:00
[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:
parent
34f3231f43
commit
46c41e62a1
14 changed files with 23 additions and 12 deletions
|
@ -44,6 +44,7 @@
|
||||||
#include <asm/hardware/scoop.h>
|
#include <asm/hardware/scoop.h>
|
||||||
|
|
||||||
#include "generic.h"
|
#include "generic.h"
|
||||||
|
#include "devices.h"
|
||||||
#include "sharpsl.h"
|
#include "sharpsl.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
11
arch/arm/mach-pxa/devices.h
Normal file
11
arch/arm/mach-pxa/devices.h
Normal 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;
|
|
@ -43,6 +43,7 @@
|
||||||
#include <asm/arch/irda.h>
|
#include <asm/arch/irda.h>
|
||||||
#include <asm/arch/i2c.h>
|
#include <asm/arch/i2c.h>
|
||||||
|
|
||||||
|
#include "devices.h"
|
||||||
#include "generic.h"
|
#include "generic.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -26,14 +26,3 @@ extern unsigned int get_clk_frequency_khz(int info);
|
||||||
mi->bank[__nr].size = (__size), \
|
mi->bank[__nr].size = (__size), \
|
||||||
mi->bank[__nr].node = (((unsigned)(__start) - PHYS_OFFSET) >> 27)
|
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;
|
|
||||||
|
|
|
@ -38,6 +38,7 @@
|
||||||
#include <asm/arch/mmc.h>
|
#include <asm/arch/mmc.h>
|
||||||
|
|
||||||
#include "generic.h"
|
#include "generic.h"
|
||||||
|
#include "devices.h"
|
||||||
|
|
||||||
/* TODO:
|
/* TODO:
|
||||||
* - add pxa2xx_audio_ops_t device structure
|
* - add pxa2xx_audio_ops_t device structure
|
||||||
|
|
|
@ -46,6 +46,7 @@
|
||||||
#include <asm/arch/ohci.h>
|
#include <asm/arch/ohci.h>
|
||||||
|
|
||||||
#include "generic.h"
|
#include "generic.h"
|
||||||
|
#include "devices.h"
|
||||||
|
|
||||||
|
|
||||||
static unsigned int lpd270_irq_enabled;
|
static unsigned int lpd270_irq_enabled;
|
||||||
|
|
|
@ -48,6 +48,7 @@
|
||||||
#include <asm/arch/mmc.h>
|
#include <asm/arch/mmc.h>
|
||||||
|
|
||||||
#include "generic.h"
|
#include "generic.h"
|
||||||
|
#include "devices.h"
|
||||||
|
|
||||||
|
|
||||||
#define LUB_MISC_WR __LUB_REG(LUBBOCK_FPGA_PHYS + 0x080)
|
#define LUB_MISC_WR __LUB_REG(LUBBOCK_FPGA_PHYS + 0x080)
|
||||||
|
|
|
@ -46,6 +46,7 @@
|
||||||
#include <asm/arch/ohci.h>
|
#include <asm/arch/ohci.h>
|
||||||
|
|
||||||
#include "generic.h"
|
#include "generic.h"
|
||||||
|
#include "devices.h"
|
||||||
|
|
||||||
|
|
||||||
static unsigned long mainstone_irq_enabled;
|
static unsigned long mainstone_irq_enabled;
|
||||||
|
|
|
@ -45,6 +45,7 @@
|
||||||
#include <asm/mach/sharpsl_param.h>
|
#include <asm/mach/sharpsl_param.h>
|
||||||
|
|
||||||
#include "generic.h"
|
#include "generic.h"
|
||||||
|
#include "devices.h"
|
||||||
#include "sharpsl.h"
|
#include "sharpsl.h"
|
||||||
|
|
||||||
static struct resource poodle_scoop_resources[] = {
|
static struct resource poodle_scoop_resources[] = {
|
||||||
|
|
|
@ -29,6 +29,7 @@
|
||||||
#include <asm/arch/dma.h>
|
#include <asm/arch/dma.h>
|
||||||
|
|
||||||
#include "generic.h"
|
#include "generic.h"
|
||||||
|
#include "devices.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Various clock factors driven by the CCCR register.
|
* Various clock factors driven by the CCCR register.
|
||||||
|
|
|
@ -26,6 +26,7 @@
|
||||||
#include <asm/arch/dma.h>
|
#include <asm/arch/dma.h>
|
||||||
|
|
||||||
#include "generic.h"
|
#include "generic.h"
|
||||||
|
#include "devices.h"
|
||||||
|
|
||||||
/* Crystal clock: 13MHz */
|
/* Crystal clock: 13MHz */
|
||||||
#define BASE_CLK 13000000
|
#define BASE_CLK 13000000
|
||||||
|
|
|
@ -48,6 +48,7 @@
|
||||||
#include <asm/hardware/scoop.h>
|
#include <asm/hardware/scoop.h>
|
||||||
|
|
||||||
#include "generic.h"
|
#include "generic.h"
|
||||||
|
#include "devices.h"
|
||||||
#include "sharpsl.h"
|
#include "sharpsl.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
|
@ -42,7 +42,7 @@
|
||||||
#include <asm/mach/sharpsl_param.h>
|
#include <asm/mach/sharpsl_param.h>
|
||||||
|
|
||||||
#include "generic.h"
|
#include "generic.h"
|
||||||
|
#include "devices.h"
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* SCOOP Device
|
* SCOOP Device
|
||||||
|
|
|
@ -49,6 +49,7 @@
|
||||||
#include <asm/arch/ohci.h>
|
#include <asm/arch/ohci.h>
|
||||||
|
|
||||||
#include "generic.h"
|
#include "generic.h"
|
||||||
|
#include "devices.h"
|
||||||
|
|
||||||
/********************************************************************************************
|
/********************************************************************************************
|
||||||
* ONBOARD FLASH
|
* ONBOARD FLASH
|
||||||
|
|
Loading…
Reference in a new issue