Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3452734imm; Tue, 4 Sep 2018 23:53:03 -0700 (PDT) X-Google-Smtp-Source: ANB0VdZLL+66pdGddEO0HY9B1bZjoWbZ72dWT+DTyndl3cyDsHrL/Lf7tjZ2TOB4MAGeWcbHUN/G X-Received: by 2002:a62:808c:: with SMTP id j134-v6mr38809591pfd.120.1536130383874; Tue, 04 Sep 2018 23:53:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536130383; cv=none; d=google.com; s=arc-20160816; b=OSzaON67tzK2p02TuGjYwscn/jJAtvuWZV0yvCGfq0G8KYk2tFsUr2/rHd3XsGpqP2 oDFyF1q0+qgq5rp25vHXU5bBBVizL1IB4XcQUteD9ET53nTdEyoQku+jdxJHCwFw9Sjx TWcf+xXMSpNfsl0rQMQl0h0qiCU0FqH5nPy/4RC3tuHo/VKNLGN4dyLGLRiFgoQZ8yqf gQVv68dnkMbnLiFQtDwHO7P9Cp5CV8rx7XvqtO+Ka0V9frByPAdvOwgj0MleoOOPZnTs Tsn8GROAir44Q2htKZSF6Zmb0MG7gaEf8HMQwyLhmtKw6iifMM0hWvq+I0fbUbtFMynL zypA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=ri7EJN21pZemz2aQZfOHbQwdWYzT7gNlzYbBQlc8r5c=; b=JroC1U/uJ7AaDimPG4qGYHftqNUN/pI4NcLRBMTIsiOAwB3kTWuhAv1kESIrgZabJ0 dKAdpcU0hzEUuvqk1W1FA+Gpj7d63MFpUwcpxuA7LIR2aZoostO4+Q3h9zEERIdvncwz F+gAZwM/EWdUz00YT02miANa/lsyQSRLllMvHhvtXx5J3s7TGJJGQvvvd2CXviJVzJS6 4pEd+1gGBuwvEgA1ro/P9ttb8wFJhAWQN1XQgzuhtlF7vYzoU/j9DfAA5nl2582m5Y1T vlnglYmYHYMP/5ELI3y6ArvU1trdtNUEeCzG+ZLzaBI1A2HJ5BmZIxoiPdmR/DPPZoqp 9qHg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kresin-me.20150623.gappssmtp.com header.s=20150623 header.b=hRMuV7vU; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d37-v6si1152499pla.40.2018.09.04.23.52.47; Tue, 04 Sep 2018 23:53:03 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@kresin-me.20150623.gappssmtp.com header.s=20150623 header.b=hRMuV7vU; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727100AbeIELUR (ORCPT + 99 others); Wed, 5 Sep 2018 07:20:17 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:42825 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726215AbeIELUR (ORCPT ); Wed, 5 Sep 2018 07:20:17 -0400 Received: by mail-wr1-f67.google.com with SMTP id v17-v6so6329645wrr.9 for ; Tue, 04 Sep 2018 23:51:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kresin-me.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=ri7EJN21pZemz2aQZfOHbQwdWYzT7gNlzYbBQlc8r5c=; b=hRMuV7vUG7c9qjmi4dfbs6ytnUOwLDK0VoJUq8g8woxXLRJqHF8oKS1hweMOqtbmXP iooIyVCjWhA+D20sBXVFLj3fe9AWkzhk/DlGjxy2JDKVyiHAtagg1qrkFNtMlpzrjL4A kYd10qkfhe2P9uFI5JmEvmDdFDtxS8BoTWwIeQaaIoOpnj8aREm+9n+JRwRr0QakrdYF 2qItct9jZMF9FBdhdQgpGyZpPuivEl0aNn2l//+8I0ouOE0cX7bhxUeCIEh/Kx7BpxZZ zaXfDLQzF4guaFcMizrJPeAhKMFHfq4o8k4+gAOjzrpv1LxWzZ2h+qPhYh870uSaeG16 rWTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=ri7EJN21pZemz2aQZfOHbQwdWYzT7gNlzYbBQlc8r5c=; b=feM89ySAIpeqxAiTUML6wsD13fIT2RrPubjBNDIjnEs8bvz+T8lA4XT1CuF8radbe7 664ffLar0nNMM8dm6vYKlkS/bSwavAoY7b/y5O4mZkyGN7U1Wc2Pf6LMqumlW+FmaaF3 x0bn583B9S0sSpg81dELCSearhLVYGghioxffT2ITettk3+IzHpp0BQTG1jESCMsKxvp HMM/jypWDr6XZkF7KfsnJlyuNJM+5wCrcEil40qnOzl4UWxj5AgRGDTypilxVaN0JTsm pKUU4jaYkvLWMDWZQH6qJbdprn6fvnXzj0mtSc52fbRUXTiId9yfmrbijXRj7CPcn9gH TL3g== X-Gm-Message-State: APzg51D+F/eUMNff6cNHnqcVSIOzr1mdbEjtndJgZuLP+VYYbxC3s3g3 q35gL0E0qhvTm/gsqY7BEqJijg== X-Received: by 2002:adf:94c5:: with SMTP id 63-v6mr25937832wrr.247.1536130293775; Tue, 04 Sep 2018 23:51:33 -0700 (PDT) Received: from desktop.wvd.kresin.me (p200300EC2BD12900A4378724D7036CAE.dip0.t-ipconnect.de. [2003:ec:2bd1:2900:a437:8724:d703:6cae]) by smtp.gmail.com with ESMTPSA id s10-v6sm810818wrw.35.2018.09.04.23.51.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 04 Sep 2018 23:51:33 -0700 (PDT) From: Mathias Kresin To: Ralf Baechle , Paul Burton , James Hogan , linux-mips@linux-mips.org Cc: linux-kernel@vger.kernel.org, Tobias Wolf Subject: [PATCH] MIPS: pci-rt2880: set pci controller of_node Date: Wed, 5 Sep 2018 08:51:26 +0200 Message-Id: <1536130286-32088-1-git-send-email-dev@kresin.me> X-Mailer: git-send-email 2.7.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Tobias Wolf Set the PCI controller of_node such that PCI devices can be instantiated via device tree. Signed-off-by: Tobias Wolf Signed-off-by: Mathias Kresin --- arch/mips/pci/pci-rt2880.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/arch/mips/pci/pci-rt2880.c b/arch/mips/pci/pci-rt2880.c index 711cdcc..f376a1d 100644 --- a/arch/mips/pci/pci-rt2880.c +++ b/arch/mips/pci/pci-rt2880.c @@ -246,6 +246,8 @@ static int rt288x_pci_probe(struct platform_device *pdev) rt2880_pci_write_u32(PCI_BASE_ADDRESS_0, 0x08000000); (void) rt2880_pci_read_u32(PCI_BASE_ADDRESS_0); + rt2880_pci_controller.of_node = pdev->dev.of_node; + register_pci_controller(&rt2880_pci_controller); return 0; } -- 2.7.4