Commit d14d4021 authored by Linus Torvalds's avatar Linus Torvalds

Merge bk://bk.arm.linux.org.uk/linux-2.6-rmk

into ppc970.osdl.org:/home/torvalds/v2.6/linux
parents 3bf34bc3 b1731965
......@@ -57,7 +57,7 @@ static struct platform_device sa1111_device = {
.name = "sa1111",
.id = 0,
.dev = {
.dma_mask = &sa1111_dmamask;
.dma_mask = &sa1111_dmamask,
.coherent_dma_mask = 0xffffffff,
},
.num_resources = ARRAY_SIZE(sa1111_resources),
......@@ -212,8 +212,7 @@ static int __init badge4_init(void)
/* maybe turn on 5v0 from the start */
badge4_set_5V(BADGE4_5V_INITIALLY, five_v_on);
sa11x0_set_flash_data(badge4_flash_data, badge4_flash_resources,
ARRAY_SIZE(badge4_flash_resources);
sa11x0_set_flash_data(&badge4_flash_data, &badge4_flash_resource, 1);
return 0;
}
......
......@@ -2,15 +2,17 @@
* linux/arch/arm/mach-sa1100/shannon.c
*/
#include <linux/config.h>
#include <linux/init.h>
#include <linux/device.h>
#include <linux/kernel.h>
#include <linux/tty.h>
#include <linux/mtd/mtd.h>
#include <linux/mtd/partitions.h>
#include <asm/hardware.h>
#include <asm/mach-types.h>
#include <asm/setup.h>
#include <asm/irq.h>
#include <asm/mach/arch.h>
#include <asm/mach/flash.h>
......@@ -52,7 +54,7 @@ static struct resource shannon_flash_resource = {
static void __init shannon_init(void)
{
sa11x0_set_flash_data(&shannon_flash_data, shannon_flash_resource, 1);
sa11x0_set_flash_data(&shannon_flash_data, &shannon_flash_resource, 1);
}
static void __init shannon_map_io(void)
......
......@@ -103,10 +103,7 @@ void __init shark_init_irq(void)
//request_region(0xA0,0x2,"pic2");
cascade.handler = bogus_int;
cascade.flags = 0;
cascade.name = "cascade";
cascade.next = NULL;
cascade.dev_id = NULL;
setup_irq(2,&cascade);
}
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