openwrt/target/linux/coldfire/patches/034-m5445x_spi_deprecated_api.patch

23 lines
870 B
Diff
Raw Normal View History

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;