]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
coresight: replicator: Add terminate entry for acpi_device_id tables
authorWei Yongjun <weiyongjun1@huawei.com>
Wed, 19 Jun 2019 19:53:18 +0000 (13:53 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Jun 2019 06:06:56 +0000 (08:06 +0200)
Make sure acpi_device_id tables have terminate entry.

Fixes: 115b1aa23307 ("coresight: acpi: Support for platform devices")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Reviewed-by: Suzuki K Poulose <suzuki.poulose@arm.com>
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/hwtracing/coresight/coresight-replicator.c

index 5429527599411489df862b8a4c56299acb127ff5..b7d6d59d56db2a59e9b25ec4b9bdf8643edfcf0f 100644 (file)
@@ -300,6 +300,7 @@ static const struct of_device_id static_replicator_match[] = {
 #ifdef CONFIG_ACPI
 static const struct acpi_device_id static_replicator_acpi_ids[] = {
        {"ARMHC985", 0}, /* ARM CoreSight Static Replicator */
+       {}
 };
 #endif