Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 91589
b: refs/heads/master
c: 632395e
h: refs/heads/master
i:
  91587: c9488ee
v: v3
  • Loading branch information
Anton Vorontsov authored and Kumar Gala committed Apr 17, 2008
1 parent 4cc17a1 commit 5e61c76
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: 7f0a6fc81213b957714dfd2a49a28b110283ecc8
refs/heads/master: 632395e19c9268bb15a5022b8e0c6b645a1937d7
5 changes: 3 additions & 2 deletions trunk/arch/powerpc/sysdev/qe_lib/qe_io.c
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
#include <linux/ioport.h>

#include <asm/io.h>
#include <asm/qe.h>
#include <asm/prom.h>
#include <sysdev/fsl_soc.h>

Expand All @@ -41,7 +42,7 @@ struct port_regs {
#endif
};

static struct port_regs *par_io = NULL;
static struct port_regs __iomem *par_io;
static int num_par_io_ports = 0;

int par_io_init(struct device_node *np)
Expand Down Expand Up @@ -165,7 +166,7 @@ int par_io_of_config(struct device_node *np)
}

ph = of_get_property(np, "pio-handle", NULL);
if (ph == 0) {
if (ph == NULL) {
printk(KERN_ERR "pio-handle not available \n");
return -1;
}
Expand Down

0 comments on commit 5e61c76

Please sign in to comment.