Fix compilation: use asm/unaligned.h instead of linux/unaligned.h

The unaligned access functions (get_unaligned_le64, put_unaligned_le32)
are now in asm-generic/unaligned.h and must be included via <asm/unaligned.h>
in newer kernel versions.
This commit is contained in:
Marvin 2026-03-15 16:49:14 -03:00
parent f54d5f0118
commit 7af9b97e67
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
// SPDX-License-Identifier: GPL-2.0-only // SPDX-License-Identifier: GPL-2.0-only
// Copyright (c) 2025 Šerif Rami <ramiserifpersia@gmail.com> // Copyright (c) 2025 Šerif Rami <ramiserifpersia@gmail.com>
#include <linux/unaligned.h> #include <asm/unaligned.h>
#include "us144mkii_pcm.h" #include "us144mkii_pcm.h"
const struct snd_pcm_hardware tascam_capture_hw = { const struct snd_pcm_hardware tascam_capture_hw = {