projects
/
powerpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
KVM: SVM: Only save/restore MSRs when needed
[powerpc.git]
/
drivers
/
macintosh
/
via-cuda.c
diff --git
a/drivers/macintosh/via-cuda.c
b/drivers/macintosh/via-cuda.c
index
df66291
..
76d2177
100644
(file)
--- a/
drivers/macintosh/via-cuda.c
+++ b/
drivers/macintosh/via-cuda.c
@@
-13,7
+13,6
@@
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/delay.h>
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/delay.h>
-#include <linux/sched.h>
#include <linux/adb.h>
#include <linux/cuda.h>
#include <linux/spinlock.h>
#include <linux/adb.h>
#include <linux/cuda.h>
#include <linux/spinlock.h>
@@
-86,7
+85,7
@@
static int data_index;
#ifdef CONFIG_PPC
static struct device_node *vias;
#endif
#ifdef CONFIG_PPC
static struct device_node *vias;
#endif
-static int cuda_fully_inited
= 0
;
+static int cuda_fully_inited;
#ifdef CONFIG_ADB
static int cuda_probe(void);
#ifdef CONFIG_ADB
static int cuda_probe(void);
@@
-132,7
+131,7
@@
int __init find_via_cuda(void)
if (vias == 0)
return 0;
if (vias == 0)
return 0;
- reg = get_property(vias, "reg", NULL);
+ reg =
of_
get_property(vias, "reg", NULL);
if (reg == NULL) {
printk(KERN_ERR "via-cuda: No \"reg\" property !\n");
goto fail;
if (reg == NULL) {
printk(KERN_ERR "via-cuda: No \"reg\" property !\n");
goto fail;