Merge branch 'next-devicetree' of git://git.secretlab.ca/git/linux-2.6
* 'next-devicetree' of git://git.secretlab.ca/git/linux-2.6: mmc_spi: Fix unterminated of_match_table of/sparc: fix build regression from of_device changes of/device: Replace struct of_device with struct platform_device
This commit is contained in:
@@ -200,7 +200,7 @@ static irqreturn_t mpc85xx_pci_isr(int irq, void *dev_id)
|
||||
return IRQ_HANDLED;
|
||||
}
|
||||
|
||||
static int __devinit mpc85xx_pci_err_probe(struct of_device *op,
|
||||
static int __devinit mpc85xx_pci_err_probe(struct platform_device *op,
|
||||
const struct of_device_id *match)
|
||||
{
|
||||
struct edac_pci_ctl_info *pci;
|
||||
@@ -305,7 +305,7 @@ err:
|
||||
return res;
|
||||
}
|
||||
|
||||
static int mpc85xx_pci_err_remove(struct of_device *op)
|
||||
static int mpc85xx_pci_err_remove(struct platform_device *op)
|
||||
{
|
||||
struct edac_pci_ctl_info *pci = dev_get_drvdata(&op->dev);
|
||||
struct mpc85xx_pci_pdata *pdata = pci->pvt_info;
|
||||
@@ -503,7 +503,7 @@ static irqreturn_t mpc85xx_l2_isr(int irq, void *dev_id)
|
||||
return IRQ_HANDLED;
|
||||
}
|
||||
|
||||
static int __devinit mpc85xx_l2_err_probe(struct of_device *op,
|
||||
static int __devinit mpc85xx_l2_err_probe(struct platform_device *op,
|
||||
const struct of_device_id *match)
|
||||
{
|
||||
struct edac_device_ctl_info *edac_dev;
|
||||
@@ -613,7 +613,7 @@ err:
|
||||
return res;
|
||||
}
|
||||
|
||||
static int mpc85xx_l2_err_remove(struct of_device *op)
|
||||
static int mpc85xx_l2_err_remove(struct platform_device *op)
|
||||
{
|
||||
struct edac_device_ctl_info *edac_dev = dev_get_drvdata(&op->dev);
|
||||
struct mpc85xx_l2_pdata *pdata = edac_dev->pvt_info;
|
||||
@@ -956,7 +956,7 @@ static void __devinit mpc85xx_init_csrows(struct mem_ctl_info *mci)
|
||||
}
|
||||
}
|
||||
|
||||
static int __devinit mpc85xx_mc_err_probe(struct of_device *op,
|
||||
static int __devinit mpc85xx_mc_err_probe(struct platform_device *op,
|
||||
const struct of_device_id *match)
|
||||
{
|
||||
struct mem_ctl_info *mci;
|
||||
@@ -1088,7 +1088,7 @@ err:
|
||||
return res;
|
||||
}
|
||||
|
||||
static int mpc85xx_mc_err_remove(struct of_device *op)
|
||||
static int mpc85xx_mc_err_remove(struct platform_device *op)
|
||||
{
|
||||
struct mem_ctl_info *mci = dev_get_drvdata(&op->dev);
|
||||
struct mpc85xx_mc_pdata *pdata = mci->pvt_info;
|
||||
|
Reference in New Issue
Block a user