summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaro Koskinen <aaro.koskinen@nokia.com>2015-06-08 11:32:43 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2015-06-22 17:01:22 -0700
commitf5ea938cde299128c094c07f5a2d2e73bace49dd (patch)
treeadba0cebea7d5847bf55fa19bd92ccc377d4ac46
parentb401148c9de89b542c14b3bf0b31a9c167f97f33 (diff)
downloadlwn-f5ea938cde299128c094c07f5a2d2e73bace49dd.tar.gz
lwn-f5ea938cde299128c094c07f5a2d2e73bace49dd.zip
pata_octeon_cf: fix broken build
commit 4710f2facb5c68d629015747bd09b37203e0d137 upstream. MODULE_DEVICE_TABLE is referring to wrong driver's table and breaks the build. Fix that. Signed-off-by: Aaro Koskinen <aaro.koskinen@nokia.com> Signed-off-by: Tejun Heo <tj@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/ata/pata_octeon_cf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ata/pata_octeon_cf.c b/drivers/ata/pata_octeon_cf.c
index 83c4ddb1bc7f..08223cc980b0 100644
--- a/drivers/ata/pata_octeon_cf.c
+++ b/drivers/ata/pata_octeon_cf.c
@@ -1069,7 +1069,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,