soc/intel: Remove blank lines before '}' and after '{'
[coreboot2.git] / src / mainboard / apple / macbook21 / mainboard.c
blob27d0363e4f7c2abf1b0fc12de066af794f10d14b
1 /* SPDX-License-Identifier: GPL-2.0-only */
3 #include <device/device.h>
4 #include <northbridge/intel/i945/i945.h>
5 #include <drivers/intel/gma/int15.h>
6 #include <ec/acpi/ec.h>
8 #define PANEL INT15_5F35_CL_DISPLAY_DEFAULT
10 static void mainboard_init(struct device *dev)
12 install_intel_vga_int15_handler(GMA_INT15_ACTIVE_LFP_INT_LVDS, GMA_INT15_PANEL_FIT_DEFAULT, PANEL, 3);
15 static void mainboard_enable(struct device *dev)
17 dev->ops->init = mainboard_init;
20 static void mainboard_final(void *chip_info)
22 ec_set_bit(0x10, 2); /* switch off led */
25 struct chip_operations mainboard_ops = {
26 .enable_dev = mainboard_enable,
27 .final = mainboard_final,