Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754029Ab0FJFu3 (ORCPT ); Thu, 10 Jun 2010 01:50:29 -0400 Received: from chipmunk.wormnet.eu ([195.195.131.226]:52915 "EHLO chipmunk.wormnet.eu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751733Ab0FJFu2 (ORCPT ); Thu, 10 Jun 2010 01:50:28 -0400 Date: Thu, 10 Jun 2010 06:50:26 +0100 From: Alexander Clouter To: Dmytro Milinevskyy Cc: linux-arm-kernel@lists.infradead.org, Russell King , Dhaval Vasa , Lennert Buytenhek , Nicolas Pitre , Simon Guinot , Martin Michlmayr , Simon Kagstrom , linux-kernel@vger.kernel.org Subject: Re: [PATCH] Marvell OpenRD-Ultimate machine support Message-ID: <20100610055026.GM7660@chipmunk> References: <4c104d7a.0c3ddf0a.2185.329a@mx.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4c104d7a.0c3ddf0a.2185.329a@mx.google.com> Organization: diGriz X-URL: http://www.digriz.org.uk/ X-JabberID: alex@digriz.org.uk User-Agent: Mutt/1.5.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1042 Lines: 36 Hi, * Dmytro Milinevskyy [2010-06-10 05:24:56+0300]: > > [snipped] > > @@ -84,8 +90,7 @@ static void __init openrd_init(void) > > static int __init openrd_pci_init(void) > { > - if (machine_is_openrd_base() || machine_is_openrd_client()) > - kirkwood_pcie_init(); > + kirkwood_pcie_init(); > > return 0; > } > You just 'broke' kirkwood, welcome to the club. We all have done this: http://marc.info/?l=linux-arm-kernel&m=125624586625065&w=2 http://marc.info/?l=linux-arm-kernel&m=125804222219159&w=2 Put that 'if()' clause back in, the 'subsys_initcall(openrd_pci_init)' causes that code to run on *all* compiled in boards (think of the case where you have SheevaPlug's also enabled). Cheers -- Alexander Clouter .sigmonster says: Poverty begins at home. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/