This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / drivers / macintosh / adbhid.c
index c0ab858..08d1dc4 100644 (file)
@@ -102,7 +102,7 @@ struct adbhid {
 #define FLAG_POWER_FROM_FN     0x00000002
 #define FLAG_EMU_FWDEL_DOWN    0x00000004
 
-static struct adbhid *adbhid[16];
+static struct adbhid *adbhid[16] = { 0 };
 
 static void adbhid_probe(void);
 
@@ -689,7 +689,7 @@ static void adbhid_input_unregister(int id)
        if (adbhid[id]->keycode)
                kfree(adbhid[id]->keycode);
        kfree(adbhid[id]);
-       adbhid[id] = NULL;
+       adbhid[id] = 0;
 }