mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] pata_octeon_cf: fix broken build
@ 2015-06-08  8:32 Aaro Koskinen
  2015-06-08  9:12 ` Tejun Heo
  0 siblings, 1 reply; 2+ messages in thread
From: Aaro Koskinen @ 2015-06-08  8:32 UTC (permalink / raw)
  To: Bartlomiej Zolnierkiewicz, Tejun Heo, linux-ide; +Cc: linux-kernel, David Daney

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(-)

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,
-- 
2.4.2


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-06-08  9:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-06-08  8:32 [PATCH] pata_octeon_cf: fix broken build Aaro Koskinen
2015-06-08  9:12 ` Tejun Heo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®