]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
accel/qaic: Fix MHI channel struct field order
authorJeffrey Hugo <quic_jhugo@quicinc.com>
Fri, 8 Dec 2023 16:34:53 +0000 (09:34 -0700)
committerJeffrey Hugo <quic_jhugo@quicinc.com>
Fri, 15 Dec 2023 17:59:58 +0000 (10:59 -0700)
The timesync channels have their struct fields out of order with the rest
of the channels. Fix them so there is a consistent style in the file.

Signed-off-by: Jeffrey Hugo <quic_jhugo@quicinc.com>
Reviewed-by: Carl Vanderlip <quic_carlv@quicinc.com>
Reviewed-by: Jacek Lawrynowicz <jacek.lawrynowicz@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20231208163457.1295993-4-quic_jhugo@quicinc.com
drivers/accel/qaic/mhi_controller.c

index 832464f2833ad8e660ea73ad0b223ecc891dede6..364eede0ac02282a451a207402a3bc26c30d2be0 100644 (file)
@@ -358,8 +358,8 @@ static struct mhi_channel_config aic100_channels[] = {
                .wake_capable = false,
        },
        {
-               .num = 21,
                .name = "QAIC_TIMESYNC",
+               .num = 21,
                .num_elements = 32,
                .local_elements = 0,
                .event_ring = 0,
@@ -390,8 +390,8 @@ static struct mhi_channel_config aic100_channels[] = {
                .wake_capable = false,
        },
        {
-               .num = 23,
                .name = "QAIC_TIMESYNC_PERIODIC",
+               .num = 23,
                .num_elements = 32,
                .local_elements = 0,
                .event_ring = 0,