Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4f644ea7 authored by Seungwhan Youn's avatar Seungwhan Youn Committed by Mark Brown
Browse files

ASoC: SAMSUNG: Remove AC97 header file



This patch moves AC97 specific definitions, they doesn't need to be shared,
into 'ac97.c' from 'ac97.h'. This patch also remove header file, 'ac97.h',
and remove includes on machine drivers.

Signed-off-by: default avatarSeungwhan Youn <sw.youn@samsung.com>
Acked-by: default avatarJassi Brar <jassi.brar@samsung.com>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent fd0d08d9
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -25,11 +25,13 @@
#include <plat/audio.h>

#include "dma.h"
#include "ac97.h"

#define AC_CMD_ADDR(x) (x << 16)
#define AC_CMD_DATA(x) (x & 0xffff)

#define S3C_AC97_DAI_PCM 0
#define S3C_AC97_DAI_MIC 1

struct s3c_ac97_info {
	struct clk         *ac97_clk;
	void __iomem	   *regs;

sound/soc/samsung/ac97.h

deleted100644 → 0
+0 −21
Original line number Diff line number Diff line
/* sound/soc/samsung/ac97.h
 *
 * ALSA SoC Audio Layer - S3C AC97 Controller driver
 *	Evolved from s3c2443-ac97.h
 *
 * Copyright (c) 2010 Samsung Electronics Co. Ltd
 *	Author: Jaswinder Singh <jassi.brar@samsung.com>
 *	Credits: Graeme Gregory, Sean Choi
 *
 * This program is free software; you can redistribute it and/or modify
 * it under the terms of the GNU General Public License version 2 as
 * published by the Free Software Foundation.
 */

#ifndef __S3C_AC97_H_
#define __S3C_AC97_H_

#define S3C_AC97_DAI_PCM 0
#define S3C_AC97_DAI_MIC 1

#endif /* __S3C_AC97_H_ */
+0 −1
Original line number Diff line number Diff line
@@ -23,7 +23,6 @@
#include <sound/soc.h>

#include "dma.h"
#include "ac97.h"

static struct snd_soc_card ln2440sbc;

+0 −1
Original line number Diff line number Diff line
@@ -19,7 +19,6 @@
#include <sound/soc.h>

#include "dma.h"
#include "ac97.h"

static struct snd_soc_card smdk2443;

+0 −1
Original line number Diff line number Diff line
@@ -16,7 +16,6 @@
#include <sound/soc.h>

#include "dma.h"
#include "ac97.h"

static struct snd_soc_card smdk;