diff mbox

pata_octeon_cf: fix broken build

Message ID 1433752363-6373-1-git-send-email-aaro.koskinen@nokia.com
State Not Applicable
Delegated to: David Miller
Headers show

Commit Message

Koskinen, Aaro (Nokia - FI/Espoo) June 8, 2015, 8:32 a.m. UTC
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>
---
 drivers/ata/pata_octeon_cf.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Tejun Heo June 8, 2015, 9:12 a.m. UTC | #1
Hello,

On Mon, Jun 08, 2015 at 11:32:43AM +0300, Aaro Koskinen wrote:
> 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>

Applied to libata/for-4.1-fixes.

Thanks.
diff mbox

Patch

diff --git a/drivers/ata/pata_octeon_cf.c b/drivers/ata/pata_octeon_cf.c
index 80a8054..2724595 100644
--- a/drivers/ata/pata_octeon_cf.c
+++ b/drivers/ata/pata_octeon_cf.c
@@ -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,