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:
parent
f54d5f0118
commit
7af9b97e67
|
|
@ -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 = {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue