From: Mike Frysinger Date: Wed, 27 May 2009 05:16:21 +0000 (+1000) Subject: crypto: hifn_795x - fix __dev{init,exit} markings X-Git-Tag: v2.6.31-rc1~352^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f3d8fe40498eea9f45be260bdf6ccada845411f3;p=pandora-kernel.git crypto: hifn_795x - fix __dev{init,exit} markings The remove member of the pci_driver hifn_pci_driver uses __devexit_p(), so the remove function itself should be marked with __devexit. And where there be __devexit on the remove, so is there __devinit on the probe. Similarly, the module_init/module_exit functions should be declared with plain __init/__exit markings, not the hotplug __dev{init,exit} ones. Signed-off-by: Mike Frysinger Acked-by: Evgeniy Polyakov CC: Patrick McHardy Signed-off-by: Herbert Xu --- Reading git-diff-tree failed