Commit 6e23ec4a authored by Egor Uleyskiy's avatar Egor Uleyskiy Committed by Greg Kroah-Hartman

drivers: staging: vme: Deleted casting to (void *)

Signed-off-by: default avatarEgor Uleyskiy <egor.ulieiskii@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 59a04f11
...@@ -343,7 +343,7 @@ static int pio2_probe(struct vme_dev *vdev) ...@@ -343,7 +343,7 @@ static int pio2_probe(struct vme_dev *vdev)
vec = card->irq_vector | PIO2_VME_VECTOR_SPUR; vec = card->irq_vector | PIO2_VME_VECTOR_SPUR;
retval = vme_irq_request(vdev, card->irq_level, vec, retval = vme_irq_request(vdev, card->irq_level, vec,
&pio2_int, (void *)card); &pio2_int, card);
if (retval < 0) { if (retval < 0) {
dev_err(&card->vdev->dev, dev_err(&card->vdev->dev,
"Unable to attach VME interrupt vector0x%x, level 0x%x\n", "Unable to attach VME interrupt vector0x%x, level 0x%x\n",
...@@ -356,7 +356,7 @@ static int pio2_probe(struct vme_dev *vdev) ...@@ -356,7 +356,7 @@ static int pio2_probe(struct vme_dev *vdev)
vec = card->irq_vector | PIO2_VECTOR_BANK[i]; vec = card->irq_vector | PIO2_VECTOR_BANK[i];
retval = vme_irq_request(vdev, card->irq_level, vec, retval = vme_irq_request(vdev, card->irq_level, vec,
&pio2_int, (void *)card); &pio2_int, card);
if (retval < 0) { if (retval < 0) {
dev_err(&card->vdev->dev, dev_err(&card->vdev->dev,
"Unable to attach VME interrupt vector0x%x, level 0x%x\n", "Unable to attach VME interrupt vector0x%x, level 0x%x\n",
...@@ -370,7 +370,7 @@ static int pio2_probe(struct vme_dev *vdev) ...@@ -370,7 +370,7 @@ static int pio2_probe(struct vme_dev *vdev)
vec = card->irq_vector | PIO2_VECTOR_CNTR[i]; vec = card->irq_vector | PIO2_VECTOR_CNTR[i];
retval = vme_irq_request(vdev, card->irq_level, vec, retval = vme_irq_request(vdev, card->irq_level, vec,
&pio2_int, (void *)card); &pio2_int, card);
if (retval < 0) { if (retval < 0) {
dev_err(&card->vdev->dev, dev_err(&card->vdev->dev,
"Unable to attach VME interrupt vector0x%x, level 0x%x\n", "Unable to attach VME interrupt vector0x%x, level 0x%x\n",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment