aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/isdn/hisax/callc.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/isdn/hisax/callc.c')
-rw-r--r--drivers/isdn/hisax/callc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/isdn/hisax/callc.c b/drivers/isdn/hisax/callc.c
index 025a20d487c5..475b1a020003 100644
--- a/drivers/isdn/hisax/callc.c
+++ b/drivers/isdn/hisax/callc.c
@@ -833,8 +833,6 @@ static struct FsmNode fnlist[] __initdata =
833}; 833};
834/* *INDENT-ON* */ 834/* *INDENT-ON* */
835 835
836#define FNCOUNT (sizeof(fnlist)/sizeof(struct FsmNode))
837
838int __init 836int __init
839CallcNew(void) 837CallcNew(void)
840{ 838{
@@ -842,7 +840,7 @@ CallcNew(void)
842 callcfsm.event_count = EVENT_COUNT; 840 callcfsm.event_count = EVENT_COUNT;
843 callcfsm.strEvent = strEvent; 841 callcfsm.strEvent = strEvent;
844 callcfsm.strState = strState; 842 callcfsm.strState = strState;
845 return FsmNew(&callcfsm, fnlist, FNCOUNT); 843 return FsmNew(&callcfsm, fnlist, ARRAY_SIZE(fnlist));
846} 844}
847 845
848void 846void