From 8c0ea9bc34ffe203b64307b1cc4796ea2f1f858e Mon Sep 17 00:00:00 2001 From: Lekensteyn Date: Tue, 13 Dec 2011 21:14:39 +0100 Subject: [PATCH] bbswitch: add DSM_TYPE_UNSUPPORTED macro This was added for clarity and matches other DSM_TYPE_* macros --- bbswitch.c | 1 + 1 file changed, 1 insertion(+) diff --git a/bbswitch.c b/bbswitch.c index e975e27..f7fc264 100644 --- a/bbswitch.c +++ b/bbswitch.c @@ -28,6 +28,7 @@ static const char acpi_nvidia_dsm_muid[] = { 0xB3, 0x4D, 0x7E, 0x5F, 0xEA, 0x12, 0x9F, 0xD4 }; +#define DSM_TYPE_UNSUPPORTED 0 #define DSM_TYPE_OPTIMUS 1 #define DSM_TYPE_NVIDIA 2 static int dsm_type = DSM_TYPE_UNSUPPORTED;