summaryrefslogtreecommitdiffstats
path: root/target/linux/coldfire/patches/034-m5445x_spi_deprecated_api.patch
blob: 7e96268cd5b6744019bfcb30afbc7e0a20281358 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From b999c1fe5c6e5fa4f7e43fae02f59fc547d18093 Mon Sep 17 00:00:00 2001
From: Kurt Mahan <kmahan@freescale.com>
Date: Sun, 9 Dec 2007 02:24:57 -0700
Subject: [PATCH] Fix use of deprecated API.

LTIBName: m5445x-spi-deprecated-api
Signed-off-by: Kurt Mahan <kmahan@freescale.com>
---
 drivers/spi/spi_coldfire.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

--- a/drivers/spi/spi_coldfire.c
+++ b/drivers/spi/spi_coldfire.c
@@ -1311,7 +1311,7 @@ static int coldfire_spi_probe(struct pla
 
 	irq = platform_info->irq_vector;
 
-	status = request_irq(platform_info->irq_vector, qspi_interrupt, SA_INTERRUPT, dev->bus_id, drv_data);
+	status = request_irq(platform_info->irq_vector, qspi_interrupt, IRQF_DISABLED, dev->bus_id, drv_data);
 	if (status < 0) {
 		dev_err(&pdev->dev, "unable to attach ColdFire QSPI interrupt\n");
 		goto out_error_master_alloc;