ALSA: aoa: Replace with __packed attribute
authorTakashi Iwai <tiwai@suse.de>
Wed, 25 Oct 2023 13:23:10 +0000 (15:23 +0200)
committerTakashi Iwai <tiwai@suse.de>
Thu, 26 Oct 2023 07:43:11 +0000 (09:43 +0200)
Replace the old __attribute__((packed)) with the new __packed.
Only cleanup, no functional changes.

Link: https://lore.kernel.org/r/20231025132314.5878-8-tiwai@suse.de
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/aoa/soundbus/i2sbus/interface.h

index 16fa88822d2b40f69f5140331253c38a5827a0c2..a136274266eac9ec862f0e09baa88c3bc2ef8bc7 100644 (file)
@@ -34,7 +34,7 @@ struct i2s_interface_regs {
        __le32 peak_level_in1;  /* 0x90 */
        PAD(12);
        /* total size: 0x100 bytes */
-}  __attribute__((__packed__));
+} __packed;
 
 /* interrupt register is just a bitfield with
  * interrupt enable and pending bits */