chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bus: update kdbus.h (ABI break)
[elogind.git]
/
src
/
backlight
/
backlight.c
diff --git
a/src/backlight/backlight.c
b/src/backlight/backlight.c
index 6c00b00d82c64e385948cf3a52139ddf69822c7f..bf767038ee9f63f46b5b5ddb172b503441a3ca39 100644
(file)
--- a/
src/backlight/backlight.c
+++ b/
src/backlight/backlight.c
@@
-24,7
+24,6
@@
#include "fileio.h"
#include "libudev.h"
#include "udev-util.h"
#include "fileio.h"
#include "libudev.h"
#include "udev-util.h"
-#include "util.h"
static struct udev_device *find_pci_or_platform_parent(struct udev_device *device) {
struct udev_device *parent;
static struct udev_device *find_pci_or_platform_parent(struct udev_device *device) {
struct udev_device *parent;
@@
-291,7
+290,7
@@
int main(int argc, char *argv[]) {
* device probing should be complete), so that the validity
* check at boot time doesn't have to be reliable. */
* device probing should be complete), so that the validity
* check at boot time doesn't have to be reliable. */
- if (streq(argv[1], "load") && restore_state()) {
+ if (streq(argv[1], "load") &&
shall_
restore_state()) {
_cleanup_free_ char *value = NULL;
if (!validate_device(udev, device))
_cleanup_free_ char *value = NULL;
if (!validate_device(udev, device))