diff options
author | Imre Kaloz <kaloz@openwrt.org> | 2009-06-23 21:04:37 +0000 |
---|---|---|
committer | Imre Kaloz <kaloz@openwrt.org> | 2009-06-23 21:04:37 +0000 |
commit | c49f135f72f98633653300bab5b0ac993b03c6be (patch) | |
tree | 50929b27bcea9ab4dc74b041d6e90967473301fa /target/linux/coldfire/patches/034-m5445x_spi_deprecated_api.patch | |
parent | 50f2abfa16a2b509955312d1776beeece662c61b (diff) | |
download | master-31e0f0ae-c49f135f72f98633653300bab5b0ac993b03c6be.tar.gz master-31e0f0ae-c49f135f72f98633653300bab5b0ac993b03c6be.tar.bz2 master-31e0f0ae-c49f135f72f98633653300bab5b0ac993b03c6be.zip |
use broken-out patches for the coldfire to make it easier to follow differences against the bsp
SVN-Revision: 16547
Diffstat (limited to 'target/linux/coldfire/patches/034-m5445x_spi_deprecated_api.patch')
-rw-r--r-- | target/linux/coldfire/patches/034-m5445x_spi_deprecated_api.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/target/linux/coldfire/patches/034-m5445x_spi_deprecated_api.patch b/target/linux/coldfire/patches/034-m5445x_spi_deprecated_api.patch new file mode 100644 index 0000000000..7e96268cd5 --- /dev/null +++ b/target/linux/coldfire/patches/034-m5445x_spi_deprecated_api.patch @@ -0,0 +1,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; |