diff options
author | Maarten Maathuis <madman2003@gmail.com> | 2008-06-22 18:58:04 +0200 |
---|---|---|
committer | Maarten Maathuis <madman2003@gmail.com> | 2008-06-22 18:58:04 +0200 |
commit | 7c9551a464e168279224139b70a439f985b601c9 (patch) | |
tree | 890775627a335dd2b260620fd298479de66ea80a | |
parent | e67cd7dda9d7d6d82f4026f246d07bf4c4021a57 (diff) |
fix typo
-rw-r--r-- | linux-core/nv50_crtc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-core/nv50_crtc.c b/linux-core/nv50_crtc.c index f34e7279..887d6ec2 100644 --- a/linux-core/nv50_crtc.c +++ b/linux-core/nv50_crtc.c @@ -489,7 +489,7 @@ int nv50_crtc_create(struct drm_device *dev, int index) crtc->mode = kzalloc(sizeof(struct nouveau_hw_mode), GFP_KERNEL); crtc->native_mode = kzalloc(sizeof(struct nouveau_hw_mode), GFP_KERNEL); - if (!crtc->mode || crtc->native_mode) { + if (!crtc->mode || !crtc->native_mode) { rval = -ENOMEM; goto out; } |