am2150: Update nmclan_cs.c to use update PCMCIA API
authorJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 18 Sep 2014 09:33:41 +0000 (02:33 -0700)
committerBen Hutchings <ben@decadent.org.uk>
Sat, 11 Nov 2017 13:34:51 +0000 (13:34 +0000)
commit04508cae9f4237afc39fffb33c7864e245c656fe
tree1cd45448769a4593a94b61d2cf719861f1ea2f90
parent93837ec73439a1e90113b6d782b6099edaaaefeb
am2150: Update nmclan_cs.c to use update PCMCIA API

commit 5f5316fcd08ef74b282adf6774956431fac62663 upstream.

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 <rpao@paonet.org>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
drivers/net/ethernet/amd/nmclan_cs.c