blob: a15b045ab8bca5bb708f80d5fba1e8915bd501ae [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,
23 .vendor = PCI_VENDOR_ID_AMD,
Kyösti Mälkki9d9a5522016-11-19 22:14:59 +020024 .device = PCI_DEVICE_ID_AMD_SB900_HDA,
zbao246e84b2012-07-13 18:47:03 +080025};