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:
@@ -173,7 +173,7 @@ static int __devinit sparcspkr_probe(struct device *dev)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int sparcspkr_shutdown(struct of_device *dev)
|
||||
static int sparcspkr_shutdown(struct platform_device *dev)
|
||||
{
|
||||
struct sparcspkr_state *state = dev_get_drvdata(&dev->dev);
|
||||
struct input_dev *input_dev = state->input_dev;
|
||||
@@ -184,7 +184,7 @@ static int sparcspkr_shutdown(struct of_device *dev)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int __devinit bbc_beep_probe(struct of_device *op, const struct of_device_id *match)
|
||||
static int __devinit bbc_beep_probe(struct platform_device *op, const struct of_device_id *match)
|
||||
{
|
||||
struct sparcspkr_state *state;
|
||||
struct bbc_beep_info *info;
|
||||
@@ -231,7 +231,7 @@ out_err:
|
||||
return err;
|
||||
}
|
||||
|
||||
static int __devexit bbc_remove(struct of_device *op)
|
||||
static int __devexit bbc_remove(struct platform_device *op)
|
||||
{
|
||||
struct sparcspkr_state *state = dev_get_drvdata(&op->dev);
|
||||
struct input_dev *input_dev = state->input_dev;
|
||||
@@ -269,7 +269,7 @@ static struct of_platform_driver bbc_beep_driver = {
|
||||
.shutdown = sparcspkr_shutdown,
|
||||
};
|
||||
|
||||
static int __devinit grover_beep_probe(struct of_device *op, const struct of_device_id *match)
|
||||
static int __devinit grover_beep_probe(struct platform_device *op, const struct of_device_id *match)
|
||||
{
|
||||
struct sparcspkr_state *state;
|
||||
struct grover_beep_info *info;
|
||||
@@ -312,7 +312,7 @@ out_err:
|
||||
return err;
|
||||
}
|
||||
|
||||
static int __devexit grover_remove(struct of_device *op)
|
||||
static int __devexit grover_remove(struct platform_device *op)
|
||||
{
|
||||
struct sparcspkr_state *state = dev_get_drvdata(&op->dev);
|
||||
struct grover_beep_info *info = &state->u.grover;
|
||||
|
||||
Reference in New Issue
Block a user