]> git.karo-electronics.de Git - mv-sheeva.git/blobdiff - sound/soc/fsl/mpc8610_hpcd.c
Merge branch 'stable/fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/konrad...
[mv-sheeva.git] / sound / soc / fsl / mpc8610_hpcd.c
index 3a501062c2440d2830f76f297bc4e214b2417c75..3b13b8d65262722d0bfbcc7e8e5d205a47485073 100644 (file)
@@ -200,7 +200,7 @@ static struct snd_soc_ops mpc8610_hpcd_ops = {
  * SSI devices.  We also probably aren't compatible with the generic Elo DMA
  * device driver.
  */
-static int mpc8610_hpcd_probe(struct of_device *ofdev,
+static int mpc8610_hpcd_probe(struct platform_device *ofdev,
        const struct of_device_id *match)
 {
        struct device_node *np = ofdev->dev.of_node;
@@ -534,7 +534,7 @@ error:
  *
  * This function is called when the OF device is removed.
  */
-static int mpc8610_hpcd_remove(struct of_device *ofdev)
+static int mpc8610_hpcd_remove(struct platform_device *ofdev)
 {
        struct platform_device *sound_device = dev_get_drvdata(&ofdev->dev);
        struct mpc8610_hpcd_data *machine_data =