struct snd_sof_dsp_ops;
 
+/**
+ * enum snd_sof_fw_state - DSP firmware state definitions
+ * @SOF_FW_BOOT_NOT_STARTED:   firmware boot is not yet started
+ * @SOF_FW_BOOT_PREPARE:       preparing for boot (firmware loading for exaqmple)
+ * @SOF_FW_BOOT_IN_PROGRESS:   firmware boot is in progress
+ * @SOF_FW_BOOT_FAILED:                firmware boot failed
+ * @SOF_FW_BOOT_READY_FAILED:  firmware booted but fw_ready op failed
+ * @SOF_FW_BOOT_READY_OK:      firmware booted and fw_ready op passed
+ * @SOF_FW_BOOT_COMPLETE:      firmware is booted up and functional
+ * @SOF_FW_CRASHED:            firmware crashed after successful boot
+ */
+enum snd_sof_fw_state {
+       SOF_FW_BOOT_NOT_STARTED = 0,
+       SOF_FW_BOOT_PREPARE,
+       SOF_FW_BOOT_IN_PROGRESS,
+       SOF_FW_BOOT_FAILED,
+       SOF_FW_BOOT_READY_FAILED,
+       SOF_FW_BOOT_READY_OK,
+       SOF_FW_BOOT_COMPLETE,
+       SOF_FW_CRASHED,
+};
+
 /*
  * SOF Platform data.
  */
 
        bool ipc_complete;
 };
 
-enum snd_sof_fw_state {
-       SOF_FW_BOOT_NOT_STARTED = 0,
-       SOF_FW_BOOT_PREPARE,
-       SOF_FW_BOOT_IN_PROGRESS,
-       SOF_FW_BOOT_FAILED,
-       SOF_FW_BOOT_READY_FAILED, /* firmware booted but fw_ready op failed */
-       SOF_FW_BOOT_READY_OK,
-       SOF_FW_BOOT_COMPLETE,
-       SOF_FW_CRASHED,
-};
-
 /*
  * SOF Device Level.
  */