Skip to content

Commit 5f5316f

Browse files
Jeff Kirsherdavem330
authored andcommitted
am2150: Update nmclan_cs.c to use update PCMCIA API
Resolves compile warning about use of a deprecated function call: drivers/net/ethernet/amd/nmclan_cs.c: In function ‘nmclan_config’: drivers/net/ethernet/amd/nmclan_cs.c:624:3: warning: ‘pcmcia_request_exclusive_irq’ is deprecated (declared at include/pcmcia/ds.h:213) [-Wdeprecated-declarations] ret = pcmcia_request_exclusive_irq(link, mace_interrupt); Updates pcmcia_request_exclusive_irq() to pcmcia_request_irq(). CC: Roger Pao <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 6d967f8 commit 5f5316f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ethernet/amd/nmclan_cs.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -621,7 +621,7 @@ static int nmclan_config(struct pcmcia_device *link)
621621
ret = pcmcia_request_io(link);
622622
if (ret)
623623
goto failed;
624-
ret = pcmcia_request_exclusive_irq(link, mace_interrupt);
624+
ret = pcmcia_request_irq(link, mace_interrupt);
625625
if (ret)
626626
goto failed;
627627
ret = pcmcia_enable_device(link);

0 commit comments

Comments
 (0)