]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
drivers: net: irda: bfin_sir: fix compile error
authorSonic Zhang <sonic.zhang@analog.com>
Mon, 6 Aug 2012 16:08:36 +0000 (16:08 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 8 Aug 2012 22:40:25 +0000 (15:40 -0700)
commit920d087e44c228be6270e07fdb59043380a4bb00
tree34b8e61e58d47f2070360f223b11e534629b353d
parentf4ba394c1b02e7fc2179fda8d3941a5b3b65efb6
drivers: net: irda: bfin_sir: fix compile error

Bit IREN is replaced by UMOD_IRDA and UMOD_MASK since blackfin 60x added, but
this driver didn't update which will cause bfin_sir build error:

drivers/net/irda/bfin_sir.c:161:9: error: 'IREN' undeclared (first use in this
function)
drivers/net/irda/bfin_sir.c:435:18: error: 'IREN' undeclared (first use in
this function)
drivers/net/irda/bfin_sir.c:521:11: error: 'IREN' undeclared (first use in
this function)

This patch fix it.

Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Bob Liu <lliubbo@gmail.com>
Acked-by: Samuel Ortiz <samuel@sortiz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/irda/bfin_sir.c