]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd0fa35fda800b2df131e0dc033cece5e8e057e61
treed6aa998fc560df1c44e353818ec04db3daf3e779
parentdd21aed231d931d5cdc258346575986f354a60cf
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