summaryrefslogtreecommitdiff
path: root/sound/aoa/aoa.h
diff options
context:
space:
mode:
Diffstat (limited to 'sound/aoa/aoa.h')
-rw-r--r--sound/aoa/aoa.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/sound/aoa/aoa.h b/sound/aoa/aoa.h
index 34c668f27798..badff9f7cd54 100644
--- a/sound/aoa/aoa.h
+++ b/sound/aoa/aoa.h
@@ -1,14 +1,12 @@
+/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Apple Onboard Audio definitions
*
* Copyright 2006 Johannes Berg <johannes@sipsolutions.net>
- *
- * GPL v2, can be found in COPYING.
*/
#ifndef __AOA_H
#define __AOA_H
-#include <asm/prom.h>
#include <linux/module.h>
#include <sound/core.h>
#include <sound/asound.h>
@@ -117,7 +115,7 @@ struct aoa_card {
};
extern int aoa_snd_device_new(enum snd_device_type type,
- void * device_data, struct snd_device_ops * ops);
+ void *device_data, const struct snd_device_ops *ops);
extern struct snd_card *aoa_get_card(void);
extern int aoa_snd_ctl_add(struct snd_kcontrol* control);