projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[PATCH] USB: ub 4: Zaitcev's quasi-S/G
[powerpc.git]
/
drivers
/
macintosh
/
therm_pm72.c
diff --git
a/drivers/macintosh/therm_pm72.c
b/drivers/macintosh/therm_pm72.c
index
feb4e24
..
703e319
100644
(file)
--- a/
drivers/macintosh/therm_pm72.c
+++ b/
drivers/macintosh/therm_pm72.c
@@
-120,6
+120,7
@@
#include <asm/system.h>
#include <asm/sections.h>
#include <asm/of_device.h>
#include <asm/system.h>
#include <asm/sections.h>
#include <asm/of_device.h>
+#include <asm/macio.h>
#include "therm_pm72.h"
#include "therm_pm72.h"
@@
-1986,7
+1987,7
@@
static void fcu_lookup_fans(struct device_node *fcu_node)
}
}
}
}
-static int fcu_of_probe(struct of_device* dev, const struct of_
match
*match)
+static int fcu_of_probe(struct of_device* dev, const struct of_
device_id
*match)
{
int rc;
{
int rc;
@@
-2009,12
+2010,10
@@
static int fcu_of_remove(struct of_device* dev)
return 0;
}
return 0;
}
-static struct of_
match fcu_of
_match[] =
+static struct of_
device_id fcu
_match[] =
{
{
{
{
- .name = OF_ANY_MATCH,
.type = "fcu",
.type = "fcu",
- .compatible = OF_ANY_MATCH
},
{},
};
},
{},
};
@@
-2022,7
+2021,7
@@
static struct of_match fcu_of_match[] =
static struct of_platform_driver fcu_of_platform_driver =
{
.name = "temperature",
static struct of_platform_driver fcu_of_platform_driver =
{
.name = "temperature",
- .match_table = fcu_
of_
match,
+ .match_table = fcu_match,
.probe = fcu_of_probe,
.remove = fcu_of_remove
};
.probe = fcu_of_probe,
.remove = fcu_of_remove
};