#if notyet -> #ifdef notyet for consistency and -Wundef
authorjsg <jsg@openbsd.org>
Wed, 19 Jun 2024 01:32:24 +0000 (01:32 +0000)
committerjsg <jsg@openbsd.org>
Wed, 19 Jun 2024 01:32:24 +0000 (01:32 +0000)
sys/dev/pci/drm/amd/pm/swsmu/smu13/smu_v13_0_6_ppt.c

index ca4b8f9..aee973f 100644 (file)
@@ -2044,7 +2044,7 @@ static ssize_t smu_v13_0_6_get_gpu_metrics(struct smu_context *smu, void **table
 static void smu_v13_0_6_restore_pci_config(struct smu_context *smu)
 {
        STUB();
-#if notyet
+#ifdef notyet
        struct amdgpu_device *adev = smu->adev;
        int i;