From: Brian Niebuhr Date: Wed, 6 Oct 2010 13:17:16 +0000 (+0530) Subject: spi: davinci: setup the driver owner X-Git-Tag: v2.6.38-rc1~454^2~6^2~5 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d8c174cdeb6511aa307e6058468b68a9cc3990e4;p=karo-tx-linux.git spi: davinci: setup the driver owner Setup the owner member of the platform driver to THIS_MODULE instead of leaving it NULL. Signed-off-by: Brian Niebuhr Tested-By: Michael Williamson Signed-off-by: Sekhar Nori --- diff --git a/drivers/spi/davinci_spi.c b/drivers/spi/davinci_spi.c index 1652bba955e2..2ec5fd2f2e7b 100644 --- a/drivers/spi/davinci_spi.c +++ b/drivers/spi/davinci_spi.c @@ -1001,7 +1001,10 @@ static int __exit davinci_spi_remove(struct platform_device *pdev) } static struct platform_driver davinci_spi_driver = { - .driver.name = "spi_davinci", + .driver = { + .name = "spi_davinci", + .owner = THIS_MODULE, + }, .remove = __exit_p(davinci_spi_remove), };