kernel-rpi/kernel-rpi-3.14.6.20140831git-buildfix-pcm512x.patch

26 lines
696 B
Diff

--- linux-3.14.6.20140831git/sound/soc/codecs/pcm512x.c.orig 2014-09-08 15:20:08.871270123 +0200
+++ linux-3.14.6.20140831git/sound/soc/codecs/pcm512x.c 2014-09-08 15:56:55.506471261 +0200
@@ -490,7 +490,6 @@
pcm512x->supplies);
}
-/* TODO
static int pcm512x_suspend(struct device *dev)
{
struct pcm512x_priv *pcm512x = dev_get_drvdata(dev);
@@ -553,13 +552,11 @@
return 0;
}
-// END OF PCM512x_suspend and resume calls TODO
-*/
-
static const struct dev_pm_ops pcm512x_pm_ops = {
SET_RUNTIME_PM_OPS(pcm512x_suspend, pcm512x_resume, NULL)
};
+
#if IS_ENABLED(CONFIG_I2C)
static int pcm512x_i2c_probe(struct i2c_client *i2c,
const struct i2c_device_id *id)