blob: a63d52a8d23714630260742790c5824abc4dc6b7 [file] [log] [blame]
Angel Pons182dbde2020-04-02 23:49:05 +02001/* SPDX-License-Identifier: GPL-2.0-only */
zbao246e84b2012-07-13 18:47:03 +08002
zbao246e84b2012-07-13 18:47:03 +08003#include <device/device.h>
4#include <device/pci.h>
5#include <device/pci_ids.h>
zbao246e84b2012-07-13 18:47:03 +08006
Elyes HAOUASbf0970e2019-03-21 11:10:03 +01007#include "hudson.h"
zbao246e84b2012-07-13 18:47:03 +08008
9static void hda_init(struct device *dev)
10{
11}
12
zbao246e84b2012-07-13 18:47:03 +080013static struct device_operations hda_audio_ops = {
14 .read_resources = pci_dev_read_resources,
15 .set_resources = pci_dev_set_resources,
16 .enable_resources = pci_dev_enable_resources,
17 .init = hda_init,
Angel Pons1fc0edd2020-05-31 00:03:28 +020018 .ops_pci = &pci_dev_ops_pci,
zbao246e84b2012-07-13 18:47:03 +080019};
20
21static const struct pci_driver hdaaudio_driver __pci_driver = {
22 .ops = &hda_audio_ops,
Felix Singer43b7f412022-03-07 04:34:52 +010023 .vendor = PCI_VID_AMD,
24 .device = PCI_DID_AMD_SB900_HDA,
zbao246e84b2012-07-13 18:47:03 +080025};