Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 25f12141 authored by Adrian Bunk's avatar Adrian Bunk Committed by Anton Vorontsov
Browse files

[BATTERY] Every file should include the headers containing the prototypes for its global functions.

parent aa629992
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -12,6 +12,8 @@

#include <linux/power_supply.h>

#include "power_supply.h"

/* Battery specific LEDs triggers. */

static void power_supply_update_bat_leds(struct power_supply *psy)
+2 −0
Original line number Diff line number Diff line
@@ -14,6 +14,8 @@
#include <linux/ctype.h>
#include <linux/power_supply.h>

#include "power_supply.h"

/*
 * This is because the name "current" breaks the device attr macro.
 * The "current" word resolves to "(get_current())" so instead of