| .. | .. |
|---|
| 1 | +// SPDX-License-Identifier: GPL-2.0-or-later |
|---|
| 1 | 2 | /* |
|---|
| 2 | 3 | * Copyright (c) by Lee Revell <rlrevell@joe-job.com> |
|---|
| 3 | 4 | * Clemens Ladisch <clemens@ladisch.de> |
|---|
| .. | .. |
|---|
| 8 | 9 | * |
|---|
| 9 | 10 | * TODO: |
|---|
| 10 | 11 | * -- |
|---|
| 11 | | - * |
|---|
| 12 | | - * This program is free software; you can redistribute it and/or modify |
|---|
| 13 | | - * it under the terms of the GNU General Public License as published by |
|---|
| 14 | | - * the Free Software Foundation; either version 2 of the License, or |
|---|
| 15 | | - * (at your option) any later version. |
|---|
| 16 | | - * |
|---|
| 17 | | - * This program is distributed in the hope that it will be useful, |
|---|
| 18 | | - * but WITHOUT ANY WARRANTY; without even the implied warranty of |
|---|
| 19 | | - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|---|
| 20 | | - * GNU General Public License for more details. |
|---|
| 21 | | - * |
|---|
| 22 | | - * You should have received a copy of the GNU General Public License |
|---|
| 23 | | - * along with this program; if not, write to the Free Software |
|---|
| 24 | | - * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|---|
| 25 | | - * |
|---|
| 26 | 12 | */ |
|---|
| 27 | 13 | |
|---|
| 28 | 14 | #include <linux/time.h> |
|---|
| .. | .. |
|---|
| 66 | 52 | return 0; |
|---|
| 67 | 53 | } |
|---|
| 68 | 54 | |
|---|
| 69 | | -static struct snd_timer_hardware snd_emu10k1_timer_hw = { |
|---|
| 55 | +static const struct snd_timer_hardware snd_emu10k1_timer_hw = { |
|---|
| 70 | 56 | .flags = SNDRV_TIMER_HW_AUTO, |
|---|
| 71 | 57 | .resolution = 20833, /* 1 sample @ 48KHZ = 20.833...us */ |
|---|
| 72 | 58 | .ticks = 1024, |
|---|