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

Commit 8ca9edc8 authored by Kuninori Morimoto's avatar Kuninori Morimoto Committed by Lee Jones
Browse files

mfd: davinci_voicecodec: Tidyup header difinitions



mach/hardware.h is needed on C source code side, not header.
And struct davinci_vc is duplicated definition.

Signed-off-by: default avatarKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: default avatarLee Jones <lee.jones@linaro.org>
parent ba28f546
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -32,6 +32,7 @@
#include <sound/pcm.h>

#include <linux/mfd/davinci_voicecodec.h>
#include <mach/hardware.h>

static const struct regmap_config davinci_vc_regmap = {
	.reg_bits = 32,
+0 −4
Original line number Diff line number Diff line
@@ -28,8 +28,6 @@
#include <linux/mfd/core.h>
#include <linux/platform_data/edma.h>

#include <mach/hardware.h>

struct regmap;

/*
@@ -99,8 +97,6 @@ struct davinci_vcif {
	dma_addr_t dma_rx_addr;
};

struct davinci_vc;

struct davinci_vc {
	/* Device data */
	struct device *dev;