git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit...
[pandora-kernel.git]
/
arch
/
microblaze
/
kernel
/
of_platform.c
diff --git
a/arch/microblaze/kernel/of_platform.c
b/arch/microblaze/kernel/of_platform.c
index
acf4574
..
0dc7552
100644
(file)
--- a/
arch/microblaze/kernel/of_platform.c
+++ b/
arch/microblaze/kernel/of_platform.c
@@
-17,7
+17,6
@@
#include <linux/init.h>
#include <linux/module.h>
#include <linux/mod_devicetable.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/mod_devicetable.h>
-#include <linux/slab.h>
#include <linux/pci.h>
#include <linux/of.h>
#include <linux/of_device.h>
#include <linux/pci.h>
#include <linux/of.h>
#include <linux/of_device.h>
@@
-185,7
+184,7
@@
EXPORT_SYMBOL(of_find_device_by_node);
static int of_dev_phandle_match(struct device *dev, void *data)
{
phandle *ph = data;
static int of_dev_phandle_match(struct device *dev, void *data)
{
phandle *ph = data;
- return to_of_device(dev)->node->
linux_
phandle == *ph;
+ return to_of_device(dev)->node->phandle == *ph;
}
struct of_device *of_find_device_by_phandle(phandle ph)
}
struct of_device *of_find_device_by_phandle(phandle ph)