X-Git-Url: http://pilppa.org/gitweb/gitweb.cgi?a=blobdiff_plain;f=drivers%2Fnet%2Fmace.c;h=2a5add257b8f32fab854367946d0eccef51e1591;hb=a7c243b544c0e9f6775c2607decaa59d54fb9e11;hp=81d0a26e4f41c00662f5984469b3fad209b96d67;hpb=717cb906bd43a9ac00631d600adda5c6546843a6;p=linux-2.6-omap-h63xx.git diff --git a/drivers/net/mace.c b/drivers/net/mace.c index 81d0a26e4f4..2a5add257b8 100644 --- a/drivers/net/mace.c +++ b/drivers/net/mace.c @@ -1016,6 +1016,7 @@ static struct of_device_id mace_match[] = }, {}, }; +MODULE_DEVICE_TABLE (of, mace_match); static struct macio_driver mace_driver = { @@ -1035,10 +1036,8 @@ static void __exit mace_cleanup(void) { macio_unregister_driver(&mace_driver); - if (dummy_buf) { - kfree(dummy_buf); - dummy_buf = NULL; - } + kfree(dummy_buf); + dummy_buf = NULL; } MODULE_AUTHOR("Paul Mackerras");