Commit 897ed789 authored by Russell King's avatar Russell King

[ARM PATCH] 1331/1: Shark: Compilation fixes

Patch from Alexander Schulz

Hello,

the current kernel version gave me some errors when compiling for
the Shark. This patch fixes those errors.

Regards
  Alexander
parent eeaabd9f
......@@ -27,7 +27,7 @@ create_params (unsigned long *buffer)
/* Head of the taglist */
tag->hdr.tag = ATAG_CORE;
tag->hdr.size = tag_size(tag_core);
tag->u.core.flags = FLAG_READONLY;
tag->u.core.flags = 1;
tag->u.core.pagesize = PAGE_SIZE;
tag->u.core.rootdev = 0;
......
......@@ -42,6 +42,6 @@ ide_init_default_hwifs(void)
ide_init_hwif_ports(&hw, 0x1f0, 0x3f6, NULL);
hw.irq = 14;
ide_register_hw(&hw);
ide_register_hw(&hw,NULL);
}
......@@ -7,5 +7,6 @@
#define NR_IRQS 16
#define IRQ_ISA_KEYBOARD 1
#define RTC_IRQ 8
#define AUX_IRQ 12
#define IRQ_HARDDISK 14
......@@ -38,6 +38,4 @@
#define __bus_to_virt__is_a_macro
#define __bus_to_virt(x) __phys_to_virt(x)
#define isa_virt_to_bus virt_to_bus
#endif
......@@ -3,3 +3,5 @@
*
* by Alexander Schulz
*/
#define CLOCK_TICK_RATE 1193180
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