Commit 6b12a3d3 authored by Jeff Garzik's avatar Jeff Garzik

Merge branch 'upstream-fixes' into upstream

parents 0486a8c8 51985487
...@@ -377,8 +377,8 @@ dm9000_release_board(struct platform_device *pdev, struct board_info *db) ...@@ -377,8 +377,8 @@ dm9000_release_board(struct platform_device *pdev, struct board_info *db)
kfree(db->data_req); kfree(db->data_req);
} }
if (db->addr_res != NULL) { if (db->addr_req != NULL) {
release_resource(db->addr_res); release_resource(db->addr_req);
kfree(db->addr_req); kfree(db->addr_req);
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment