Commit 3a9d9b48 authored by Aaro Koskinen's avatar Aaro Koskinen Committed by Luis Henriques

pata_octeon_cf: fix broken build

commit 4710f2fa upstream.

MODULE_DEVICE_TABLE is referring to wrong driver's table and breaks the
build. Fix that.
Signed-off-by: default avatarAaro Koskinen <aaro.koskinen@nokia.com>
Signed-off-by: default avatarTejun Heo <tj@kernel.org>
Signed-off-by: default avatarLuis Henriques <luis.henriques@canonical.com>
parent cb88e31d
...@@ -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