summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStephane Marchesin <marchesin@icps.u-strasbg.fr>2008-01-07 05:11:33 (GMT)
committerStephane Marchesin <marchesin@icps.u-strasbg.fr>2008-01-07 05:11:33 (GMT)
commitcd19dcef4f7cc454f68618a0a1e903f159db21ad (patch)
treecc0bd7d5921b4e4a0abcfcb430a06831e54f4cc5
parentde522ae742bd058780135eb21fe287e9a9dc263a (diff)
Nouveau: ppc oops.
-rw-r--r--shared-core/nouveau_state.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/shared-core/nouveau_state.c b/shared-core/nouveau_state.c
index 0695754..7535360 100644
--- a/shared-core/nouveau_state.c
+++ b/shared-core/nouveau_state.c
@@ -412,6 +412,7 @@ void nouveau_preclose(struct drm_device *dev, struct drm_file *file_priv)
int nouveau_firstopen(struct drm_device *dev)
{
#if defined(__powerpc__)
+ struct drm_nouveau_private *dev_priv = dev->dev_private;
struct device_node *dn;
#endif
int ret;