.. | .. |
---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-only |
---|
1 | 2 | /** |
---|
2 | 3 | * Copyright (C) 2008, Creative Technology Ltd. All Rights Reserved. |
---|
3 | | - * |
---|
4 | | - * This source file is released under GPL v2 license (no other versions). |
---|
5 | | - * See the COPYING file included in the main directory of this source |
---|
6 | | - * distribution for the license terms and conditions. |
---|
7 | 4 | * |
---|
8 | 5 | * @File ctvmem.c |
---|
9 | 6 | * |
---|
.. | .. |
---|
186 | 183 | /* Allocate page table pages */ |
---|
187 | 184 | for (i = 0; i < CT_PTP_NUM; i++) { |
---|
188 | 185 | err = snd_dma_alloc_pages(SNDRV_DMA_TYPE_DEV, |
---|
189 | | - snd_dma_pci_data(pci), |
---|
| 186 | + &pci->dev, |
---|
190 | 187 | PAGE_SIZE, &vm->ptp[i]); |
---|
191 | 188 | if (err < 0) |
---|
192 | 189 | break; |
---|