summaryrefslogtreecommitdiff
path: root/nouveau
diff options
context:
space:
mode:
authorBen Skeggs <bskeggs@redhat.com>2010-03-19 10:20:09 +1000
committerBen Skeggs <bskeggs@redhat.com>2010-03-19 10:20:15 +1000
commitc1c8bbf80b1f734e23996bf805dc78f32ebaf56f (patch)
treedf749bb90acb46ae8311fd48710aeffdfb72b2b4 /nouveau
parentdf32c307e8f81b46ee8aa4dd7222fc18f175bbb3 (diff)
nouveau: fix annoying compiler warning
Diffstat (limited to 'nouveau')
-rw-r--r--nouveau/nouveau_channel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nouveau/nouveau_channel.c b/nouveau/nouveau_channel.c
index 5622c1d9..40a0b344 100644
--- a/nouveau/nouveau_channel.c
+++ b/nouveau/nouveau_channel.c
@@ -106,7 +106,7 @@ nouveau_channel_free(struct nouveau_channel **chan)
struct nouveau_channel_priv *nvchan;
struct nouveau_device_priv *nvdev;
struct drm_nouveau_channel_free cf;
- int i;
+ unsigned i;
if (!chan || !*chan)
return;