devices.c (6f584cfab47173bcbf06b67cb22d519e95317311) | devices.c (724931465c234f71551e229dcd8842d1fc531d77) |
---|---|
1#include <linux/module.h> 2#include <linux/kernel.h> 3#include <linux/init.h> 4#include <linux/platform_device.h> 5#include <linux/dma-mapping.h> 6 7#include <mach/pxa-regs.h> 8#include <mach/udc.h> --- 316 unchanged lines hidden (view full) --- 325 }, 326}; 327 328void __init pxa_set_ficp_info(struct pxaficp_platform_data *info) 329{ 330 pxa_register_device(&pxa_device_ficp, info); 331} 332 | 1#include <linux/module.h> 2#include <linux/kernel.h> 3#include <linux/init.h> 4#include <linux/platform_device.h> 5#include <linux/dma-mapping.h> 6 7#include <mach/pxa-regs.h> 8#include <mach/udc.h> --- 316 unchanged lines hidden (view full) --- 325 }, 326}; 327 328void __init pxa_set_ficp_info(struct pxaficp_platform_data *info) 329{ 330 pxa_register_device(&pxa_device_ficp, info); 331} 332 |
333struct platform_device pxa_device_rtc = { | 333static struct resource pxa_rtc_resources[] = { 334 [0] = { 335 .start = 0x40900000, 336 .end = 0x40900000 + 0x3b, 337 .flags = IORESOURCE_MEM, 338 }, 339 [1] = { 340 .start = IRQ_RTC1Hz, 341 .end = IRQ_RTC1Hz, 342 .flags = IORESOURCE_IRQ, 343 }, 344 [2] = { 345 .start = IRQ_RTCAlrm, 346 .end = IRQ_RTCAlrm, 347 .flags = IORESOURCE_IRQ, 348 }, 349}; 350 351struct platform_device sa1100_device_rtc = { |
334 .name = "sa1100-rtc", 335 .id = -1, 336}; 337 | 352 .name = "sa1100-rtc", 353 .id = -1, 354}; 355 |
356struct platform_device pxa_device_rtc = { 357 .name = "pxa-rtc", 358 .id = -1, 359 .num_resources = ARRAY_SIZE(pxa_rtc_resources), 360 .resource = pxa_rtc_resources, 361}; 362 |
|
338static struct resource pxa_ac97_resources[] = { 339 [0] = { 340 .start = 0x40500000, 341 .end = 0x40500000 + 0xfff, 342 .flags = IORESOURCE_MEM, 343 }, 344 [1] = { 345 .start = IRQ_AC97, --- 583 unchanged lines hidden --- | 363static struct resource pxa_ac97_resources[] = { 364 [0] = { 365 .start = 0x40500000, 366 .end = 0x40500000 + 0xfff, 367 .flags = IORESOURCE_MEM, 368 }, 369 [1] = { 370 .start = IRQ_AC97, --- 583 unchanged lines hidden --- |