aboutsummaryrefslogtreecommitdiff
path: root/shared-core/nouveau_state.c
diff options
context:
space:
mode:
authorStephane Marchesin <marchesin@icps.u-strasbg.fr>2008-01-07 06:11:33 +0100
committerStephane Marchesin <marchesin@icps.u-strasbg.fr>2008-01-07 06:11:33 +0100
commitcd19dcef4f7cc454f68618a0a1e903f159db21ad (patch)
treecc0bd7d5921b4e4a0abcfcb430a06831e54f4cc5 /shared-core/nouveau_state.c
parentde522ae742bd058780135eb21fe287e9a9dc263a (diff)
Nouveau: ppc oops.
Diffstat (limited to 'shared-core/nouveau_state.c')
-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 0695754b..75353603 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;