pata_octeon_cf: fix broken build
authorAaro Koskinen <aaro.koskinen@nokia.com>
Mon, 8 Jun 2015 08:32:43 +0000 (11:32 +0300)
committerTejun Heo <tj@kernel.org>
Mon, 8 Jun 2015 09:03:04 +0000 (18:03 +0900)
MODULE_DEVICE_TABLE is referring to wrong driver's table and breaks the
build. Fix that.

Cc: stable@vger.kernel.org
Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/pata_octeon_cf.c

index 80a80548ad0a80acf28c3407e6a6048825f92af3..27245957eee3cd906f546d67853d2ebd6ce54d30 100644 (file)
@@ -1053,7 +1053,7 @@ static struct of_device_id octeon_cf_match[] = {
        },
        {},
 };
-MODULE_DEVICE_TABLE(of, octeon_i2c_match);
+MODULE_DEVICE_TABLE(of, octeon_cf_match);
 
 static struct platform_driver octeon_cf_driver = {
        .probe          = octeon_cf_probe,