omen-modules/snd_hda_codec_realtek/inc/hda_component.h
naoto 57fb157400 Initial commit
Original modules copied with their dependencies
DKMS config and makefiles created
2024-01-25 03:35:59 +01:00

20 lines
461 B
C

/* SPDX-License-Identifier: GPL-2.0-or-later */
/*
* HD audio Component Binding Interface
*
* Copyright (C) 2021 Cirrus Logic, Inc. and
* Cirrus Logic International Semiconductor Ltd.
*/
#include <linux/component.h>
#define HDA_MAX_COMPONENTS 4
#define HDA_MAX_NAME_SIZE 50
struct hda_component {
struct device *dev;
char name[HDA_MAX_NAME_SIZE];
struct hda_codec *codec;
void (*playback_hook)(struct device *dev, int action);
};