summaryrefslogtreecommitdiff
path: root/recipes/linux/linux-efika-2.6.20/0012-ata-Fix-pata_mpc52xx.c-compatible-list.txt
blob: 33f2ffcad0b7c23bd69adfb03e2c5f31b0a5877e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
From 20e872b5fed46ba15ed6f2c29cc2adf98657c9a4 Mon Sep 17 00:00:00 2001
From: Sylvain Munaut <tnt@246tNt.com>
Date: Sat, 23 Dec 2006 22:20:06 +0100
Subject: [PATCH] [PATCH] ata: Fix pata_mpc52xx.c 'compatible' list

The list contained an entry to support a non-standard device-tree,
this is now handled by fixups in early boot.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
---
 drivers/ata/pata_mpc52xx.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/drivers/ata/pata_mpc52xx.c b/drivers/ata/pata_mpc52xx.c
index 8b7019a..ff40016 100644
--- a/drivers/ata/pata_mpc52xx.c
+++ b/drivers/ata/pata_mpc52xx.c
@@ -509,9 +509,7 @@ mpc52xx_ata_resume(struct of_device *op)
 
 static struct of_device_id mpc52xx_ata_of_match[] = {
 	{
-		.compatible = "mpc5200-ata",
-	},
-	{
+		.type = "ata",
 		.compatible = "mpc52xx-ata",
 	},
 	{},
-- 
1.4.4.2