From d81631f2db4142d4242373da8de9799af3b89310 Mon Sep 17 00:00:00 2001
From: Kyle McMartin <kmcmarti@redhat.com>
Date: Tue, 12 Aug 2014 16:51:04 -0400
Subject: [PATCH] me spell gud

---
 nouveau_platform-fix.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/nouveau_platform-fix.patch b/nouveau_platform-fix.patch
index de618013c..93d602e57 100644
--- a/nouveau_platform-fix.patch
+++ b/nouveau_platform-fix.patch
@@ -7,7 +7,7 @@ index 0ffeb50..e53e854 100644
  {
  	struct drm_device *drm_dev = platform_get_drvdata(pdev);
 -	struct nouveau_device *device = nouveau_dev(drm_dev);
-+	struct nouveau_device *device = nv_device(nouveau_drm(dev)->device);
++	struct nouveau_device *device = nv_device(nouveau_drm(drm_dev)->device);
  	struct nouveau_platform_gpu *gpu = nv_device_to_platform(device)->gpu;
  
  	nouveau_drm_device_remove(drm_dev);