From 4d01a756f221c0af0c59f64052563d4d531b1031 Mon Sep 17 00:00:00 2001 From: Ziyan Date: Sun, 5 Jun 2016 10:28:25 +0200 Subject: espresso: Update device variant sysfs location - in preparation for 3.4 kernel Change-Id: I1b2ce649d539d71e4aeb053090fc1034288bcdf5 --- audio/audio_hw.h | 2 +- libsensors/piranha_sensors.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/audio/audio_hw.h b/audio/audio_hw.h index 9be085b..3a9ad69 100644 --- a/audio/audio_hw.h +++ b/audio/audio_hw.h @@ -65,7 +65,7 @@ #define VX_WB_SAMPLING_RATE 16000 /* product-specific defines */ -#define DEVICE_VARIANT_SYSFS "/sys/board_properties/type" +#define DEVICE_VARIANT_SYSFS "/sys/board/type" #define ARRAY_SIZE(a) (sizeof(a) / sizeof((a)[0])) diff --git a/libsensors/piranha_sensors.h b/libsensors/piranha_sensors.h index 6a2679f..7a0ae00 100644 --- a/libsensors/piranha_sensors.h +++ b/libsensors/piranha_sensors.h @@ -30,7 +30,7 @@ #define PIRANHA_SENSORS_NEEDED_API (1 << 0) #define PIRANHA_SENSORS_NEEDED_ORIENTATION (1 << 1) -#define DEVICE_VARIANT_SYSFS "/sys/board_properties/type" +#define DEVICE_VARIANT_SYSFS "/sys/board/type" struct piranha_sensors_device; -- cgit v1.1