| --- a/drivers/bcma/main.c |
| +++ b/drivers/bcma/main.c |
| @@ -156,6 +156,7 @@ static struct device_node *bcma_of_find_ |
| return NULL; |
| } |
| |
| +#if LINUX_VERSION_IS_GEQ(3,13,0) |
| static int bcma_of_irq_parse(struct device *parent, |
| struct bcma_device *core, |
| struct of_phandle_args *out_irq, int num) |
| @@ -195,6 +196,13 @@ static unsigned int bcma_of_get_irq(stru |
| |
| return irq_create_of_mapping(&out_irq); |
| } |
| +#else |
| +static unsigned int bcma_of_get_irq(struct device *parent, |
| + struct bcma_device *core, int num) |
| +{ |
| + return 0; |
| +} |
| +#endif |
| |
| static void bcma_of_fill_device(struct platform_device *parent, |
| struct bcma_device *core) |