]> rtime.felk.cvut.cz Git - lincan.git/blobdiff - lincan/src/mpc5200.c
Added distinguish mechanism between full MPC5200 (used on RYU board) and original...
[lincan.git] / lincan / src / mpc5200.c
index 2e159cc1ae89f6ddc87758f5dce987a61ad32fe2..9371eca369e33ca39a706f76323ada5c20b059c4 100644 (file)
@@ -106,6 +106,8 @@ int mpc5200_release_io(struct candevice_t *candev)
        /* free all chips memorey space - using internal address storage */
        for (i = 0; i < candev->nr_all_chips; i++)
                iounmap((void*)chips_addr[i]);
+
+       kfree(chips_addr);
        
        return 0;
 }