Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 81257
b: refs/heads/master
c: bdddec4
h: refs/heads/master
i:
  81255: 9e16bce
v: v3
  • Loading branch information
Grant Likely authored and Olof Johansson committed Jan 2, 2008
1 parent 600b10f commit d165d60
Show file tree
Hide file tree
Showing 3 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: f0d4577c4d19f439b8f05e2c540519343e6f71e1
refs/heads/master: bdddec454c205028c010c1c4e1e6163c054487c6
5 changes: 1 addition & 4 deletions trunk/arch/powerpc/platforms/pasemi/idle.c
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,6 @@ static int pasemi_system_reset_exception(struct pt_regs *regs)

static int __init pasemi_idle_init(void)
{
if (!machine_is(pasemi))
return -ENODEV;

#ifndef CONFIG_PPC_PASEMI_CPUFREQ
printk(KERN_WARNING "No cpufreq driver, powersavings modes disabled\n");
current_mode = 0;
Expand All @@ -88,7 +85,7 @@ static int __init pasemi_idle_init(void)

return 0;
}
late_initcall(pasemi_idle_init);
machine_late_initcall(pasemi, pasemi_idle_init);

static int __init idle_param(char *p)
{
Expand Down
10 changes: 2 additions & 8 deletions trunk/arch/powerpc/platforms/pasemi/setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,6 @@ static int __init pas_setup_mce_regs(void)
struct pci_dev *dev;
int reg;

if (!machine_is(pasemi))
return -ENODEV;

/* Remap various SoC status registers for use by the MCE handler */

reg = 0;
Expand Down Expand Up @@ -181,7 +178,7 @@ static int __init pas_setup_mce_regs(void)

return 0;
}
device_initcall(pas_setup_mce_regs);
machine_device_initcall(pasemi, pas_setup_mce_regs);

static __init void pas_init_IRQ(void)
{
Expand Down Expand Up @@ -405,17 +402,14 @@ static struct of_device_id pasemi_bus_ids[] = {

static int __init pasemi_publish_devices(void)
{
if (!machine_is(pasemi))
return 0;

pasemi_pcmcia_init();

/* Publish OF platform devices for SDC and other non-PCI devices */
of_platform_bus_probe(NULL, pasemi_bus_ids, NULL);

return 0;
}
device_initcall(pasemi_publish_devices);
machine_device_initcall(pasemi, pasemi_publish_devices);


/*
Expand Down

0 comments on commit d165d60

Please sign in to comment.