Merge tag 'rdma-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland...
[linux-2.6-block.git] / drivers / infiniband / hw / ehca / ehca_main.c
index 8f43093edace0a2106535f5e2b44bce1bc940881..cd8d290a09fc2029f5542660c42e652b9216fe3e 100644 (file)
@@ -714,8 +714,7 @@ static struct attribute_group ehca_dev_attr_grp = {
        .attrs = ehca_dev_attrs
 };
 
-static int ehca_probe(struct platform_device *dev,
-                     const struct of_device_id *id)
+static int ehca_probe(struct platform_device *dev)
 {
        struct ehca_shca *shca;
        const u64 *handle;
@@ -938,7 +937,7 @@ static struct of_device_id ehca_device_table[] =
 };
 MODULE_DEVICE_TABLE(of, ehca_device_table);
 
-static struct of_platform_driver ehca_driver = {
+static struct platform_driver ehca_driver = {
        .probe       = ehca_probe,
        .remove      = ehca_remove,
        .driver = {