[PATCH] 8xx: remove rpx_install_isr() from i2c-rpx.c

Aristeu Sergio Rozanski Filho aris at cathedrallabs.org
Sun Aug 7 04:03:03 EST 2005


8xx: remove rpx_install_isr(), IRQ handler is installed on i2c-algo-8xx

Signed-off-by: Aristeu Sergio Rozanski Filho <aris at cathedrallabs.org>

Index: 2.6-8xx/drivers/i2c/busses/i2c-rpx.c
===================================================================
--- 2.6-8xx.orig/drivers/i2c/busses/i2c-rpx.c	2005-08-05 17:00:06.000000000 -0300
+++ 2.6-8xx/drivers/i2c/busses/i2c-rpx.c	2005-08-05 17:05:36.000000000 -0300
@@ -55,17 +55,7 @@
 	data->i2c = (i2c8xx_t *)&(((immap_t *)IMAP_ADDR)->im_i2c);
 }
 
-static int rpx_install_isr(int irq, void (*func)(void *, void *), void *data)
-{
-	/* install interrupt handler */
-	cpm_install_handler(irq, (void (*)(void *, struct pt_regs *)) func, data);
-
-	return 0;
-}
-
-static struct i2c_algo_8xx_data rpx_data = {
-	.setisr = rpx_install_isr
-};
+static struct i2c_algo_8xx_data rpx_data;
 
 static struct i2c_adapter rpx_ops = {
 	.owner		= THIS_MODULE,



More information about the Linuxppc-embedded mailing list