Commit 4710f2fa authored by Aaro Koskinen's avatar Aaro Koskinen Committed by Tejun Heo

pata_octeon_cf: fix broken build

MODULE_DEVICE_TABLE is referring to wrong driver's table and breaks the
build. Fix that.

Cc: stable@vger.kernel.org
Signed-off-by: default avatarAaro Koskinen <aaro.koskinen@nokia.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
parent e96998fc
...@@ -1053,7 +1053,7 @@ static struct of_device_id octeon_cf_match[] = { ...@@ -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 = { static struct platform_driver octeon_cf_driver = {
.probe = octeon_cf_probe, .probe = octeon_cf_probe,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment