Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 81372
b: refs/heads/master
c: ca956f0
h: refs/heads/master
v: v3
  • Loading branch information
Grant Likely authored and Kumar Gala committed Jan 28, 2008
1 parent 3164732 commit 46aad95
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 13 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: b61ad6532b243dd82d658d6370abb6f481ddd25e
refs/heads/master: ca956f0ea8baa6365b5e39d16373f430e12a030d
5 changes: 1 addition & 4 deletions trunk/arch/powerpc/platforms/82xx/mpc8272_ads.c
Original file line number Diff line number Diff line change
Expand Up @@ -165,14 +165,11 @@ static struct of_device_id __initdata of_bus_ids[] = {

static int __init declare_of_platform_devices(void)
{
if (!machine_is(mpc8272_ads))
return 0;

/* Publish the QE devices */
of_platform_bus_probe(NULL, of_bus_ids, NULL);
return 0;
}
device_initcall(declare_of_platform_devices);
machine_device_initcall(mpc8272_ads, declare_of_platform_devices);

/*
* Called very early, device-tree isn't unflattened
Expand Down
5 changes: 1 addition & 4 deletions trunk/arch/powerpc/platforms/82xx/pq2fads.c
Original file line number Diff line number Diff line change
Expand Up @@ -176,14 +176,11 @@ static struct of_device_id __initdata of_bus_ids[] = {

static int __init declare_of_platform_devices(void)
{
if (!machine_is(pq2fads))
return 0;

/* Publish the QE devices */
of_platform_bus_probe(NULL, of_bus_ids, NULL);
return 0;
}
device_initcall(declare_of_platform_devices);
machine_device_initcall(pq2fads, declare_of_platform_devices);

define_machine(pq2fads)
{
Expand Down
5 changes: 1 addition & 4 deletions trunk/arch/powerpc/platforms/embedded6xx/ls_uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,6 @@ static int __init ls_uarts_init(void)
phys_addr_t phys_addr;
int len;

if (!machine_is(linkstation))
return 0;

avr = of_find_node_by_path("/soc10x/serial@80004500");
if (!avr)
return -EINVAL;
Expand All @@ -142,4 +139,4 @@ static int __init ls_uarts_init(void)
return 0;
}

late_initcall(ls_uarts_init);
machine_late_initcall(linkstation, ls_uarts_init);

0 comments on commit 46aad95

Please sign in to comment.