toonie.c (75bf465f0bc33e9b776a46d6a1b9b990f5fb7c37) | toonie.c (e6f2a617ac53bc0753b885ffb94379ff48b2e2df) |
---|---|
1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * Apple Onboard Audio driver for Toonie codec 4 * 5 * Copyright 2006 Johannes Berg <johannes@sipsolutions.net> 6 * 7 * This is a driver for the toonie codec chip. This chip is present 8 * on the Mac Mini and is nothing but a DAC. --- 16 unchanged lines hidden (view full) --- 25}; 26#define codec_to_toonie(c) container_of(c, struct toonie, codec) 27 28static int toonie_dev_register(struct snd_device *dev) 29{ 30 return 0; 31} 32 | 1// SPDX-License-Identifier: GPL-2.0-only 2/* 3 * Apple Onboard Audio driver for Toonie codec 4 * 5 * Copyright 2006 Johannes Berg <johannes@sipsolutions.net> 6 * 7 * This is a driver for the toonie codec chip. This chip is present 8 * on the Mac Mini and is nothing but a DAC. --- 16 unchanged lines hidden (view full) --- 25}; 26#define codec_to_toonie(c) container_of(c, struct toonie, codec) 27 28static int toonie_dev_register(struct snd_device *dev) 29{ 30 return 0; 31} 32 |
33static struct snd_device_ops ops = { | 33static const struct snd_device_ops ops = { |
34 .dev_register = toonie_dev_register, 35}; 36 37static struct transfer_info toonie_transfers[] = { 38 /* This thing *only* has analog output, 39 * the rates are taken from Info.plist 40 * from Darwin. */ 41 { --- 108 unchanged lines hidden --- | 34 .dev_register = toonie_dev_register, 35}; 36 37static struct transfer_info toonie_transfers[] = { 38 /* This thing *only* has analog output, 39 * the rates are taken from Info.plist 40 * from Darwin. */ 41 { --- 108 unchanged lines hidden --- |