[PATCH v5 1/7] pci: Introduce pci_register_io_range() helper function.

Arnd Bergmann arnd at arndb.de
Tue Mar 4 17:30:09 EST 2014


On Tuesday 04 March 2014, Liviu Dudau wrote:
> +int __weak pci_register_io_range(phys_addr_t addr, resource_size_t size)
> +{
> +       return 0;
> +}
> +

How about returning an error here? You don't actually register the range.

	Arnd



More information about the linux-arm-kernel mailing list