Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 100925
b: refs/heads/master
c: 5806d8a
h: refs/heads/master
i:
  100923: efdb684
v: v3
  • Loading branch information
Dmitry Baryshkov authored and Russell King committed Jun 2, 2008
1 parent 4703bda commit d3cccee
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 043fbc099af0fc0ec94112c7235b7544147149f4
refs/heads/master: 5806d8abf6b152f23d057c2e6b9199892883a8df
5 changes: 5 additions & 0 deletions trunk/arch/arm/mach-pxa/spitz_pm.c
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
#include <asm/arch/sharpsl.h>
#include <asm/arch/spitz.h>
#include <asm/arch/pxa-regs.h>
#include <asm/arch/pxa2xx-regs.h>
#include <asm/arch/pxa2xx-gpio.h>
#include "sharpsl.h"

Expand Down Expand Up @@ -231,6 +232,10 @@ static int __devinit spitzpm_init(void)
{
int ret;

if (!machine_is_spitz() && !machine_is_akita()
&& !machine_is_borzoi())
return -ENODEV;

spitzpm_device = platform_device_alloc("sharpsl-pm", -1);
if (!spitzpm_device)
return -ENOMEM;
Expand Down

0 comments on commit d3cccee

Please sign in to comment.