Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 355311
b: refs/heads/master
c: b499b7a
h: refs/heads/master
i:
  355309: a5a118c
  355307: 3ccd3b4
  355303: 15ed998
  355295: 93bb786
v: v3
  • Loading branch information
Heiko Stuebner authored and Kukjin Kim committed Feb 3, 2013
1 parent 8653bd3 commit e63d1b7
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 20 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: 6b6289171bfdee905608f5d6cbb3eb79b04fdd03
refs/heads/master: b499b7a87117c6ec45f5d4f73ac6a643b1709292
2 changes: 1 addition & 1 deletion trunk/arch/arm/mach-s3c24xx/mach-smdk2443.c
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ MACHINE_START(SMDK2443, "SMDK2443")
/* Maintainer: Ben Dooks <ben-linux@fluff.org> */
.atag_offset = 0x100,

.init_irq = s3c24xx_init_irq,
.init_irq = s3c2443_init_irq,
.map_io = smdk2443_map_io,
.init_machine = smdk2443_machine_init,
.timer = &s3c24xx_timer,
Expand Down
22 changes: 4 additions & 18 deletions trunk/arch/arm/plat-s3c24xx/irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -935,10 +935,11 @@ static int s3c2443_add_sub(unsigned int base,
return 0;
}

static int s3c2443_irq_add(struct device *dev,
struct subsys_interface *sif)
void __init s3c2443_init_irq(void)
{
printk("S3C2443: IRQ Support\n");
pr_info("S3C2443: IRQ Support\n");

s3c24xx_init_irq();

s3c2443_add_sub(IRQ_CAM, s3c2443_irq_demux_cam, &s3c2443_irq_cam,
IRQ_S3C2440_CAM_C, IRQ_S3C2440_CAM_P);
Expand All @@ -956,20 +957,5 @@ static int s3c2443_irq_add(struct device *dev,
s3c2443_add_sub(IRQ_WDT, s3c2443_irq_demux_wdtac97,
&s3c2443_irq_wdtac97,
IRQ_S3C2443_WDT, IRQ_S3C2443_AC97);

return 0;
}

static struct subsys_interface s3c2443_irq_interface = {
.name = "s3c2443_irq",
.subsys = &s3c2443_subsys,
.add_dev = s3c2443_irq_add,
};

static int __init s3c2443_irq_init(void)
{
return subsys_interface_register(&s3c2443_irq_interface);
}

arch_initcall(s3c2443_irq_init);
#endif
2 changes: 2 additions & 0 deletions trunk/arch/arm/plat-samsung/include/plat/s3c2443.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ extern void s3c2443_init_clocks(int xtal);
extern int s3c2443_baseclk_add(void);

extern void s3c2443_restart(char mode, const char *cmd);

extern void s3c2443_init_irq(void);
#else
#define s3c2443_init_clocks NULL
#define s3c2443_init_uarts NULL
Expand Down

0 comments on commit e63d1b7

Please sign in to comment.