Skip to contentSkip to conversation

Fix some pt_regs users

PATCH In review Arnaud Patard (Rtp) 2 participants 2 messages Nov 2, 2006 – Nov 9, 2006 Bluetooth drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix some pt_regs users

Hi,

There are still some users of pt_regs in the -omap tree. This patch is fixing only the one I've spotted, so it's possible that there are some left.

Regards,
Arnaud Patard

There are still some users of pt_regs in the -omap tree. This patch fixes them.

---

 drivers/bluetooth/brf6150.c |    5 	2 +	3 -	0 !
 drivers/cbus/retu.c         |    2 	1 +	1 -	0 !
 drivers/cbus/tahvo.c        |    2 	1 +	1 -	0 !
 3 files changed, 4 insertions(+), 5 deletions(-)
drivers/bluetooth/brf6150.c +2 -3
Index: linux-omap-2.6/drivers/bluetooth/brf6150.c
===================================================================
@@ -569,7 +569,7 @@ static void brf6150_tx_tasklet(unsigned 
 	spin_unlock_irqrestore(&info->lock, flags);
 }
 
-static irqreturn_t brf6150_interrupt(int irq, void *data, struct pt_regs *regs)
+static irqreturn_t brf6150_interrupt(int irq, void *data)
 {
 	struct brf6150_info *info = (struct brf6150_info *)data;
 	u8 iir, msr;
@@ -617,8 +617,7 @@ static irqreturn_t brf6150_interrupt(int
 	return ret;
 }
 
-static irqreturn_t brf6150_wakeup_interrupt(int irq, void *dev_inst,
-					    struct pt_regs *regs)
+static irqreturn_t brf6150_wakeup_interrupt(int irq, void *dev_inst)
 {
 	struct brf6150_info *info = dev_inst;
 	int should_wakeup;
drivers/cbus/retu.c +1 -1
Index: linux-omap-2.6/drivers/cbus/retu.c
===================================================================
@@ -187,7 +187,7 @@ void retu_ack_irq(int id)
 /*
  * RETU interrupt handler. Only schedules the tasklet.
  */
-static irqreturn_t retu_irq_handler(int irq, void *dev_id, struct pt_regs *regs)
+static irqreturn_t retu_irq_handler(int irq, void *dev_id)
 {
 	tasklet_schedule(&retu_tasklet);
 	return IRQ_HANDLED;
drivers/cbus/tahvo.c +1 -1
Index: linux-omap-2.6/drivers/cbus/tahvo.c
===================================================================
@@ -182,7 +182,7 @@ void tahvo_set_backlight_level(int level
 /*
  * TAHVO interrupt handler. Only schedules the tasklet.
  */
-static irqreturn_t tahvo_irq_handler(int irq, void *dev_id, struct pt_regs *regs)
+static irqreturn_t tahvo_irq_handler(int irq, void *dev_id)
 {
 	tasklet_schedule(&tahvo_tasklet);
 	return IRQ_HANDLED;
#1 lore raw
Quoted 5 lines · Arnaud Patard

Hi,

There are still some users of pt_regs in the -omap tree. This patch is fixing only the one I've spotted, so it's possible that there are some left.

Pushing today.

Tony