From: Joachim Fenkes Date: Tue, 15 Jul 2008 06:48:49 +0000 (-0700) Subject: IB/ehca: Make device table externally visible X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=038919f29682b00ea95506e959210fc72d1aaf64;p=linux-beck.git IB/ehca: Make device table externally visible This gives ehca an autogenerated modalias and therefore enables automatic loading. Signed-off-by: Joachim Fenkes Signed-off-by: Roland Dreier --- diff --git a/drivers/infiniband/hw/ehca/ehca_main.c b/drivers/infiniband/hw/ehca/ehca_main.c index 482103eb6eac..598844d2edc9 100644 --- a/drivers/infiniband/hw/ehca/ehca_main.c +++ b/drivers/infiniband/hw/ehca/ehca_main.c @@ -923,6 +923,7 @@ static struct of_device_id ehca_device_table[] = }, {}, }; +MODULE_DEVICE_TABLE(of, ehca_device_table); static struct of_platform_driver ehca_driver = { .name = "ehca",