Commit 18a45ee8 authored by Tony Lindgren's avatar Tony Lindgren

Merge with /home/tmlind/src/kernel/linux-omap-2.6

parents b4c3ffa6 a39663db
......@@ -11,7 +11,7 @@ NAME=Affluent Albatross
# expect to learn how to build the kernel reading this file.
# Add custom flags here to avoid conflict with updates
EXTRAVERSION := $(EXTRAVERSION)-omap1
EXTRAVERSION := $(EXTRAVERSION)-omap2
# Do not print "Entering directory ..."
MAKEFLAGS += --no-print-directory
......
......@@ -405,7 +405,7 @@ omap1610_irda_irq(int irq, void *dev_id, struct pt_regs *hw_regs)
skb_reserve(skb, 1);
w = OMAP_DMA_CDAC_REG(si->rx_dma_channel);
w -= OMAP_DMA_CDSA_L_REG(si->rx_dma_channel);
w -= OMAP1_DMA_CDSA_L_REG(si->rx_dma_channel);
if (si->speed != 4000000) {
memcpy(skb_put(skb, w - 2), si->rx_buf_dma_virt, w - 2); /* Copy DMA buffer to skb */
......@@ -605,7 +605,7 @@ static int omap1610_irda_start(struct net_device *dev)
* Setup the serial port for the specified config.
*/
#if CONFIG_MACH_OMAP_H3
#ifdef CONFIG_MACH_OMAP_H3
if ((err = read_gpio_expa(&ioExpanderVal, 0x26))) {
printk(KERN_ERR "Error reading from I/O EXPANDER \n");
......
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