i460_mux: add define constant for maximum number of subchannels

Lets get rid of the magic number in struct osmo_i460_timeslot and
replace it with a define constant.

Change-Id: Id3a3782927c7dcbc873223d56129f291c04fee26
Related: OS#5198
diff --git a/include/osmocom/isdn/i460_mux.h b/include/osmocom/isdn/i460_mux.h
index ad9cb24..537e325 100644
--- a/include/osmocom/isdn/i460_mux.h
+++ b/include/osmocom/isdn/i460_mux.h
@@ -22,6 +22,8 @@
 #include <osmocom/core/linuxlist.h>
 #include <osmocom/core/msgb.h>
 
+#define OSMO_I460_NUM_SUBCHAN 8
+
 /* I.460 sub-slot rate */
 enum osmo_i460_rate {
 	OSMO_I460_RATE_NONE,		/* disabled */
@@ -69,7 +71,7 @@
 };
 
 struct osmo_i460_timeslot {
-	struct osmo_i460_subchan schan[8];
+	struct osmo_i460_subchan schan[OSMO_I460_NUM_SUBCHAN];
 };
 
 /*! description of a sub-channel; passed by caller */