Skip to content

Commit

Permalink
USB: isp1760: use __devexit_p() for remove function
Browse files Browse the repository at this point in the history
The isp1760_plat_remove function is declared with __devexit, so the
.remove assignment needs to be wrapped with __devexit_p().

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Mike Frysinger authored and Greg Kroah-Hartman committed Jul 12, 2009
1 parent a455212 commit 4198e4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/host/isp1760-if.c
Original file line number Diff line number Diff line change
Expand Up @@ -361,7 +361,7 @@ static int __devexit isp1760_plat_remove(struct platform_device *pdev)

static struct platform_driver isp1760_plat_driver = {
.probe = isp1760_plat_probe,
.remove = isp1760_plat_remove,
.remove = __devexit_p(isp1760_plat_remove),
.driver = {
.name = "isp1760",
},
Expand Down

0 comments on commit 4198e4f

Please sign in to comment.