Skip to content

Commit c546244

Browse files
committed
board/s76/cmn/acpi.c: make CPU_FAN2 and HAVE_DGPU mutually exclusive
Signed-off-by: Michał Kopeć <michal.kopec@3mdeb.com>
1 parent d3c253d commit c546244

File tree

1 file changed

+4
-0
lines changed
  • src/board/system76/common

1 file changed

+4
-0
lines changed

src/board/system76/common/acpi.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@
1616
#define HAVE_LED_AIRPLANE_N 1
1717
#endif // HAVE_LED_AIRPLANE_N
1818

19+
#if defined(CPU_FAN2) && HAVE_DGPU == 1
20+
#error "CPU_FAN2 and HAVE_DGPU are mutually exclusive"
21+
#endif
22+
1923
extern uint8_t sci_extra;
2024

2125
enum EcOs acpi_ecos = EC_OS_NONE;

0 commit comments

Comments
 (0)