trau_sync: Fix typo tray_sync_pat_id -> trau_sync_pat_id

... plus add a #define for compatibility with old source code.

Change-Id: I472107bfbed10a8cadd4736ce84120b24a5579f8
diff --git a/src/trau/trau_sync.c b/src/trau/trau_sync.c
index b36e7c1..814ed88 100644
--- a/src/trau/trau_sync.c
+++ b/src/trau/trau_sync.c
@@ -492,7 +492,7 @@
 
 struct osmo_fsm_inst *
 osmo_trau_sync_alloc(void *ctx, const char *name, frame_out_cb_t frame_out_cb,
-		     enum osmo_tray_sync_pat_id pat_id, void *user_data)
+		     enum osmo_trau_sync_pat_id pat_id, void *user_data)
 {
 	struct trau_rx_sync_state *tss;
 	struct osmo_fsm_inst *fi;
@@ -523,7 +523,7 @@
 	return fi;
 }
 
-void osmo_trau_sync_set_pat(struct osmo_fsm_inst *fi, enum osmo_tray_sync_pat_id pat_id)
+void osmo_trau_sync_set_pat(struct osmo_fsm_inst *fi, enum osmo_trau_sync_pat_id pat_id)
 {
 	struct trau_rx_sync_state *tss = fi->priv;