Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 100916
b: refs/heads/master
c: 04ba0f6
h: refs/heads/master
v: v3
  • Loading branch information
Russell King authored and Russell King committed Jun 2, 2008
1 parent 6393d94 commit a6434e0
Show file tree
Hide file tree
Showing 3 changed files with 9 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: 720046de27ec2a96d4497dbca8ee98657efa059c
refs/heads/master: 04ba0f656f7580d8a51a5b3441e088309141b67a
4 changes: 4 additions & 0 deletions trunk/drivers/pcmcia/pxa2xx_cm_x270.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

#include <pcmcia/ss.h>
#include <asm/hardware.h>
#include <asm/mach-types.h>

#include <asm/arch/pxa-regs.h>
#include <asm/arch/pxa2xx-gpio.h>
Expand Down Expand Up @@ -147,6 +148,9 @@ static int __init cmx270_pcmcia_init(void)
{
int ret;

if (!machine_is_armcore())
return -ENODEV;

cmx270_pcmcia_device = platform_device_alloc("pxa2xx-pcmcia", -1);

if (!cmx270_pcmcia_device)
Expand Down
4 changes: 4 additions & 0 deletions trunk/drivers/pcmcia/pxa2xx_mainstone.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#include <pcmcia/ss.h>

#include <asm/hardware.h>
#include <asm/mach-types.h>
#include <asm/irq.h>

#include <asm/arch/pxa-regs.h>
Expand Down Expand Up @@ -153,6 +154,9 @@ static int __init mst_pcmcia_init(void)
{
int ret;

if (!machine_is_mainstone())
return -ENODEV;

mst_pcmcia_device = platform_device_alloc("pxa2xx-pcmcia", -1);
if (!mst_pcmcia_device)
return -ENOMEM;
Expand Down

0 comments on commit a6434e0

Please sign in to comment.