Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 291915
b: refs/heads/master
c: c1e572e
h: refs/heads/master
i:
  291913: aba3987
  291911: 0ee3873
v: v3
  • Loading branch information
Grant Likely committed Feb 16, 2012
1 parent ec55118 commit 151927d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 14 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 15a25980d450c81e514c2a8724b575461961a30d
refs/heads/master: c1e572e6506082ed120a13454b2cc2f525ee7aa6
1 change: 1 addition & 0 deletions trunk/arch/c6x/kernel/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ static int core_domain_map(struct irq_domain *h, unsigned int virq,

static const struct irq_domain_ops core_domain_ops = {
.map = core_domain_map,
.xlate = irq_domain_xlate_onecell,
};

void __init init_IRQ(void)
Expand Down
14 changes: 1 addition & 13 deletions trunk/arch/c6x/platforms/megamod-pic.c
Original file line number Diff line number Diff line change
Expand Up @@ -136,21 +136,9 @@ static int megamod_map(struct irq_domain *h, unsigned int virq,
return 0;
}

static int megamod_xlate(struct irq_domain *h, struct device_node *ct,
const u32 *intspec, unsigned int intsize,
irq_hw_number_t *out_hwirq, unsigned int *out_type)

{
/* megamod intspecs must have 1 cell */
BUG_ON(intsize != 1);
*out_hwirq = intspec[0];
*out_type = IRQ_TYPE_NONE;
return 0;
}

static const struct irq_domain_ops megamod_domain_ops = {
.map = megamod_map,
.xlate = megamod_xlate,
.xlate = irq_domain_xlate_onecell,
};

static void __init set_megamod_mux(struct megamod_pic *pic, int src, int output)
Expand Down

0 comments on commit 151927d

Please sign in to comment.