From: Jan-Bernd Themann Subject: [PATCH 2/3] ehea: add MODULE_DEVICE_TABLE Date: Thu, 3 Jul 2008 15:18:48 +0100 Message-ID: <200807031618.49641.ossthema@de.ibm.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: Thomas Klein , Jan-Bernd Themann , netdev , hering2@de.ibm.com, linux-kernel , kamalesh@linux.vnet.ibm.com, linux-ppc , Christoph Raisch , Marcus Eder To: Jeff Garzik Return-path: Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linuxppc-dev-bounces+glppd-linuxppc64-dev=m.gmane.org@ozlabs.org Errors-To: linuxppc-dev-bounces+glppd-linuxppc64-dev=m.gmane.org@ozlabs.org List-Id: netdev.vger.kernel.org Required to allow distros to easily detect when ehea module needs to be loaded Signed-off-by: Jan-Bernd Themann --- diff -Nurp -X dontdiff linux-2.6.26-rc8/drivers/net/ehea/ehea_main.c patched_kernel/drivers/net/ehea/ehea_main.c --- linux-2.6.26-rc8/drivers/net/ehea/ehea_main.c 2008-07-02 13:27:03.000000000 +0200 +++ patched_kernel/drivers/net/ehea/ehea_main.c 2008-07-02 13:48:21.000000000 +0200 @@ -118,6 +118,7 @@ static struct of_device_id ehea_device_t }, {}, }; +MODULE_DEVICE_TABLE(of, ehea_device_table); static struct of_platform_driver ehea_driver = { .name = "ehea",