]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
pata_octeon_cf: fix broken build
authorAaro Koskinen <aaro.koskinen@nokia.com>
Mon, 8 Jun 2015 08:32:43 +0000 (11:32 +0300)
committerSasha Levin <sasha.levin@oracle.com>
Fri, 3 Jul 2015 16:34:43 +0000 (12:34 -0400)
[ Upstream commit 4710f2facb5c68d629015747bd09b37203e0d137 ]

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>
Signed-off-by: Sasha Levin <sasha.levin@oracle.com>
drivers/ata/pata_octeon_cf.c

index 2a97d3a531ece7d9fdcedfca294f007ec21e25a9..afc252f523f0de7eca9824e9d6d7e318289d6bdd 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,