Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 169078
b: refs/heads/master
c: 4e7c81a
h: refs/heads/master
v: v3
  • Loading branch information
Florian Fainelli authored and Ralf Baechle committed Dec 2, 2009
1 parent c3bc12c commit 046e2f5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 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: a91be9ee69b09cdaa02afd5d7056bc2e6d382cfe
refs/heads/master: 4e7c81af3fa076e2d1534cc665ea2f623e631f5d
3 changes: 2 additions & 1 deletion trunk/arch/mips/rb532/devices.c
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,6 @@ static struct korina_device korina_dev0_data = {
static struct platform_device korina_dev0 = {
.id = -1,
.name = "korina",
.dev.driver_data = &korina_dev0_data,
.resource = korina_dev0_res,
.num_resources = ARRAY_SIZE(korina_dev0_res),
};
Expand Down Expand Up @@ -332,6 +331,8 @@ static int __init plat_setup_devices(void)
/* set the uart clock to the current cpu frequency */
rb532_uart_res[0].uartclk = idt_cpu_freq;

dev_set_drvdata(&korina_dev0.dev, &korina_dev0_data);

return platform_add_devices(rb532_devs, ARRAY_SIZE(rb532_devs));
}

Expand Down

0 comments on commit 046e2f5

Please sign in to comment.