Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1439660

Re: [v6,2/2] PCI: Rockchip: Add Rockchip PCIe controller support

From Guenter Roeck <linux@roeck-us.net>
Newsgroups linux.kernel
Subject Re: [v6,2/2] PCI: Rockchip: Add Rockchip PCIe controller support
Date 2016-07-08 18:40 +0200
Message-ID <rSGYO-7fn-31@gated-at.bofh.it> (permalink)
References <rRPhL-67W-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed, Jul 06, 2016 at 03:16:38PM +0800, Shawn Lin wrote:
> This patch adds Rockchip PCIe controller support found
> on RK3399 Soc platform.
> 
> Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
> ---

[ ... ]

> +	/* Get the I/O and memory ranges from DT */
> +	resource_list_for_each_entry(win, &res) {
> +		switch (resource_type(win->res)) {
> +		case IORESOURCE_IO:
> +			io = win->res;
> +			io->name = "I/O";
> +			io_size = resource_size(io);
> +			io_bus_addr = io->start - win->offset;
> +			err = pci_remap_iospace(io, io_base);

This function is not exported. Either it will have to be exported
(which may be difficult since it is declared as __weak), or the
driver must only be built into the kernel, or the function can
not be used.

Guenter

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v6 1/2] Documentation: bindings: add dt doc for Rockchip PCIe controller Shawn Lin <shawn.lin@rock-chips.com> - 2016-07-06 09:20 +0200
  [PATCH v6 2/2] PCI: Rockchip: Add Rockchip PCIe controller support Shawn Lin <shawn.lin@rock-chips.com> - 2016-07-06 09:20 +0200
    Re: [PATCH v6 2/2] PCI: Rockchip: Add Rockchip PCIe controller  support Brian Norris <briannorris@chromium.org> - 2016-07-07 02:20 +0200
      Re: [PATCH v6 2/2] PCI: Rockchip: Add Rockchip PCIe controller  support Brian Norris <briannorris@chromium.org> - 2016-07-07 02:50 +0200
    Re: [v6,2/2] PCI: Rockchip: Add Rockchip PCIe controller support Guenter Roeck <linux@roeck-us.net> - 2016-07-08 18:40 +0200
      Re: [v6,2/2] PCI: Rockchip: Add Rockchip PCIe controller support Arnd Bergmann <arnd@arndb.de> - 2016-07-08 22:10 +0200
  Re: [PATCH v6 1/2] Documentation: bindings: add dt doc for Rockchip  PCIe controller Brian Norris <briannorris@chromium.org> - 2016-07-07 02:40 +0200
    Re: [PATCH v6 1/2] Documentation: bindings: add dt doc for Rockchip  PCIe controller Shawn Lin <shawn.lin@rock-chips.com> - 2016-07-13 03:20 +0200
      Re: [PATCH v6 1/2] Documentation: bindings: add dt doc for Rockchip  PCIe controller Brian Norris <briannorris@chromium.org> - 2016-07-13 03:40 +0200
        Re: [PATCH v6 1/2] Documentation: bindings: add dt doc for Rockchip  PCIe controller Shawn Lin <shawn.lin@rock-chips.com> - 2016-07-13 03:50 +0200
          Re: [PATCH v6 1/2] Documentation: bindings: add dt doc for Rockchip  PCIe controller Brian Norris <briannorris@chromium.org> - 2016-07-13 04:10 +0200

csiph-web