i4l: change magic numbers in Eicon DIVA ISDN driver to symbolic names
authorIan Munsie <imunsie@au.ibm.com>
Thu, 11 Mar 2010 12:07:25 +0000 (12:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Mar 2010 22:47:02 +0000 (15:47 -0700)
commit255f5c327ec3a1d77fe54ef5773ef5eaf7c35a3e
treed6aa998fc560df1c44e353818ec04db3daf3e779
parent8b4017d8c191822f1c93744e7876c9020e6209aa
i4l: change magic numbers in Eicon DIVA ISDN driver to symbolic names

Replace references to the '20' magic number found throughout the Eicon
ISDN driver for the length of the station_id field in the T30_INFO struct
with the T30_MAX_STATION_ID_LENGTH symbolic constant.

Signed-off-by: Ian Munsie <imunsie@au.ibm.com>
Cc: Armin Schindler <mac@melware.de>
Cc: Karsten Keil <isdn@linux-pingi.de>
Cc: Stoyan Gaydarov <sgayda2@uiuc.edu>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/hardware/eicon/message.c