From: Greg Kroah-Hartman Date: Tue, 23 Nov 2010 00:07:01 +0000 (-0800) Subject: .32 patches X-Git-Tag: v2.6.27.57~71 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=8ad6455c3551f2add6a346be58227e2dbbd91a75;p=thirdparty%2Fkernel%2Fstable-queue.git .32 patches --- diff --git a/queue-2.6.32/i2c-pca-platform-change-device-name-of-request_irq.patch b/queue-2.6.32/i2c-pca-platform-change-device-name-of-request_irq.patch new file mode 100644 index 00000000000..2a1a4111b24 --- /dev/null +++ b/queue-2.6.32/i2c-pca-platform-change-device-name-of-request_irq.patch @@ -0,0 +1,32 @@ +From 323584436db0cb05286425d4dfd9516fce88487f Mon Sep 17 00:00:00 2001 +From: Nobuhiro Iwamatsu +Date: Sun, 24 Oct 2010 18:16:57 +0200 +Subject: i2c-pca-platform: Change device name of request_irq + +From: Nobuhiro Iwamatsu + +commit 323584436db0cb05286425d4dfd9516fce88487f upstream. + +i2c->adap.name shouldn't be used in request_irq. +Instead the driver name "i2c-pca-platform" should be used. + +Signed-off-by: Nobuhiro Iwamatsu +Acked-by: Wolfram Sang +Signed-off-by: Jean Delvare +Signed-off-by: Greg Kroah-Hartman + +--- + drivers/i2c/busses/i2c-pca-platform.c | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +--- a/drivers/i2c/busses/i2c-pca-platform.c ++++ b/drivers/i2c/busses/i2c-pca-platform.c +@@ -224,7 +224,7 @@ static int __devinit i2c_pca_pf_probe(st + + if (irq) { + ret = request_irq(irq, i2c_pca_pf_handler, +- IRQF_TRIGGER_FALLING, i2c->adap.name, i2c); ++ IRQF_TRIGGER_FALLING, pdev->name, i2c); + if (ret) + goto e_reqirq; + } diff --git a/queue-2.6.32/series b/queue-2.6.32/series index 33e4ed0ba6b..a8f33131060 100644 --- a/queue-2.6.32/series +++ b/queue-2.6.32/series @@ -5,3 +5,4 @@ block-check-for-proper-length-of-iov-entries-in-blk_rq_map_user_iov.patch jme-fix-phy-power-off-error.patch irda-fix-parameter-extraction-stack-overflow.patch irda-fix-heap-memory-corruption-in-iriap.c.patch +i2c-pca-platform-change-device-name-of-request_irq.patch