Nouveau: ppc oops.
authorStephane Marchesin <marchesin@icps.u-strasbg.fr>
Mon, 7 Jan 2008 05:11:33 +0000 (06:11 +0100)
committerStephane Marchesin <marchesin@icps.u-strasbg.fr>
Mon, 7 Jan 2008 05:11:33 +0000 (06:11 +0100)
shared-core/nouveau_state.c

index 0695754..7535360 100644 (file)
@@ -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;