File tree Expand file tree Collapse file tree
src/board/system76/common Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33#ifndef _BOARD_USBPD_H
44#define _BOARD_USBPD_H
55
6+ #include <stdbool.h>
7+ #include <stdint.h>
8+
69void usbpd_init (void );
710void usbpd_event (void );
811void usbpd_disable_charging (void );
Original file line number Diff line number Diff line change 11// SPDX-License-Identifier: GPL-3.0-only
22
33#include <board/usbpd.h>
4+ #include <common/macro.h>
45
56void usbpd_init (void ) {}
67
@@ -11,5 +12,8 @@ void usbpd_disable_charging(void) {}
1112void usbpd_enable_charging (void ) {}
1213
1314bool usbc_mux_info (uint8_t port , uint16_t * info ) {
15+ MAYBE_UNUSED (port );
16+ MAYBE_UNUSED (info );
17+
1418 return false;
1519}
Original file line number Diff line number Diff line change 33// USB-PD driver for TPS65987 and the mostly compatible TPS65993 and TPS65994.
44// I2C register reference: https://www.ti.com/lit/ug/slvubh2b/slvubh2b.pdf
55
6+ #include <board/usbpd.h>
67#include <board/battery.h>
78#include <board/gpio.h>
89#include <board/power.h>
9- #include <board/usbpd.h>
1010#include <common/command.h>
1111#include <common/debug.h>
1212#include <ec/i2c.h>
You can’t perform that action at this time.
0 commit comments