> +#ifdef CONFIG_OF_ADDRESS > +extern int of_dma_get_range(struct device_node *np, u64 *dma_addr, > + u64 *paddr, u64 *size); No need for the extern here. Otherwise looks good: Reviewed-by: Christoph Hellwig <hch@xxxxxx>
> +#ifdef CONFIG_OF_ADDRESS > +extern int of_dma_get_range(struct device_node *np, u64 *dma_addr, > + u64 *paddr, u64 *size); No need for the extern here. Otherwise looks good: Reviewed-by: Christoph Hellwig <hch@xxxxxx>