aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/atm/horizon.c5
-rw-r--r--drivers/char/tpm/tpm_tis.c4
-rw-r--r--drivers/mtd/onenand/onenand_base.c2
-rw-r--r--drivers/net/typhoon.c2
-rw-r--r--drivers/net/ucc_geth.c2
-rw-r--r--drivers/net/wan/sbni.c4
6 files changed, 10 insertions, 9 deletions
diff --git a/drivers/atm/horizon.c b/drivers/atm/horizon.c
index f96446c358ba..9b2cf253f02f 100644
--- a/drivers/atm/horizon.c
+++ b/drivers/atm/horizon.c
@@ -1382,8 +1382,9 @@ static inline void rx_data_av_handler (hrz_dev * dev) {
1382 1382
1383/********** interrupt handler **********/ 1383/********** interrupt handler **********/
1384 1384
1385static irqreturn_t interrupt_handler(int irq, void *dev_id) { 1385static irqreturn_t interrupt_handler(int irq, void *dev_id)
1386 hrz_dev * dev = (hrz_dev *) dev_id; 1386{
1387 hrz_dev *dev = dev_id;
1387 u32 int_source; 1388 u32 int_source;
1388 unsigned int irq_ok; 1389 unsigned int irq_ok;
1389 1390
diff --git a/drivers/char/tpm/tpm_tis.c b/drivers/char/tpm/tpm_tis.c
index a8e808461377..fd771a4d6d18 100644
--- a/drivers/char/tpm/tpm_tis.c
+++ b/drivers/char/tpm/tpm_tis.c
@@ -381,7 +381,7 @@ static struct tpm_vendor_specific tpm_tis = {
381 381
382static irqreturn_t tis_int_probe(int irq, void *dev_id) 382static irqreturn_t tis_int_probe(int irq, void *dev_id)
383{ 383{
384 struct tpm_chip *chip = (struct tpm_chip *) dev_id; 384 struct tpm_chip *chip = dev_id;
385 u32 interrupt; 385 u32 interrupt;
386 386
387 interrupt = ioread32(chip->vendor.iobase + 387 interrupt = ioread32(chip->vendor.iobase +
@@ -401,7 +401,7 @@ static irqreturn_t tis_int_probe(int irq, void *dev_id)
401 401
402static irqreturn_t tis_int_handler(int irq, void *dev_id) 402static irqreturn_t tis_int_handler(int irq, void *dev_id)
403{ 403{
404 struct tpm_chip *chip = (struct tpm_chip *) dev_id; 404 struct tpm_chip *chip = dev_id;
405 u32 interrupt; 405 u32 interrupt;
406 int i; 406 int i;
407 407
diff --git a/drivers/mtd/onenand/onenand_base.c b/drivers/mtd/onenand/onenand_base.c
index dd2835569092..1b0b32011415 100644
--- a/drivers/mtd/onenand/onenand_base.c
+++ b/drivers/mtd/onenand/onenand_base.c
@@ -359,7 +359,7 @@ static int onenand_wait(struct mtd_info *mtd, int state)
359 */ 359 */
360static irqreturn_t onenand_interrupt(int irq, void *data) 360static irqreturn_t onenand_interrupt(int irq, void *data)
361{ 361{
362 struct onenand_chip *this = (struct onenand_chip *) data; 362 struct onenand_chip *this = data;
363 363
364 /* To handle shared interrupt */ 364 /* To handle shared interrupt */
365 if (!this->complete.done) 365 if (!this->complete.done)
diff --git a/drivers/net/typhoon.c b/drivers/net/typhoon.c
index 72e5e9be7e99..94ac5869bb18 100644
--- a/drivers/net/typhoon.c
+++ b/drivers/net/typhoon.c
@@ -1801,7 +1801,7 @@ typhoon_poll(struct napi_struct *napi, int budget)
1801static irqreturn_t 1801static irqreturn_t
1802typhoon_interrupt(int irq, void *dev_instance) 1802typhoon_interrupt(int irq, void *dev_instance)
1803{ 1803{
1804 struct net_device *dev = (struct net_device *) dev_instance; 1804 struct net_device *dev = dev_instance;
1805 struct typhoon *tp = dev->priv; 1805 struct typhoon *tp = dev->priv;
1806 void __iomem *ioaddr = tp->ioaddr; 1806 void __iomem *ioaddr = tp->ioaddr;
1807 u32 intr_status; 1807 u32 intr_status;
diff --git a/drivers/net/ucc_geth.c b/drivers/net/ucc_geth.c
index bec413ba9bca..9741d613ba6f 100644
--- a/drivers/net/ucc_geth.c
+++ b/drivers/net/ucc_geth.c
@@ -3607,7 +3607,7 @@ static int ucc_geth_poll(struct napi_struct *napi, int budget)
3607 3607
3608static irqreturn_t ucc_geth_irq_handler(int irq, void *info) 3608static irqreturn_t ucc_geth_irq_handler(int irq, void *info)
3609{ 3609{
3610 struct net_device *dev = (struct net_device *)info; 3610 struct net_device *dev = info;
3611 struct ucc_geth_private *ugeth = netdev_priv(dev); 3611 struct ucc_geth_private *ugeth = netdev_priv(dev);
3612 struct ucc_fast_private *uccf; 3612 struct ucc_fast_private *uccf;
3613 struct ucc_geth_info *ug_info; 3613 struct ucc_geth_info *ug_info;
diff --git a/drivers/net/wan/sbni.c b/drivers/net/wan/sbni.c
index 76db40d200d8..2e8b5c2de887 100644
--- a/drivers/net/wan/sbni.c
+++ b/drivers/net/wan/sbni.c
@@ -502,8 +502,8 @@ sbni_start_xmit( struct sk_buff *skb, struct net_device *dev )
502static irqreturn_t 502static irqreturn_t
503sbni_interrupt( int irq, void *dev_id ) 503sbni_interrupt( int irq, void *dev_id )
504{ 504{
505 struct net_device *dev = (struct net_device *) dev_id; 505 struct net_device *dev = dev_id;
506 struct net_local *nl = (struct net_local *) dev->priv; 506 struct net_local *nl = dev->priv;
507 int repeat; 507 int repeat;
508 508
509 spin_lock( &nl->lock ); 509 spin_lock( &nl->lock );