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

Commit 821c3510 authored by Oliver Wang's avatar Oliver Wang
Browse files

input: sensors: fix the compilation errors for msm8916 64bit



Fix the compilation errors caused by including wrong header files and
wrong function declaration.

Change-Id: Ie57484fcacf68cac700a808b67340988230b63d6
Signed-off-by: default avatarOliver Wang <mengmeng@codeaurora.org>
parent 4d11bc8f
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -29,7 +29,6 @@
#include <linux/interrupt.h>
#include <linux/delay.h>
#include <asm/irq.h>
#include <asm/mach/irq.h>
#include <linux/regulator/consumer.h>
#include <linux/of_gpio.h>
#include <linux/sensors.h>
+1 −1
Original line number Diff line number Diff line
@@ -80,7 +80,7 @@ static struct device_type bst_dev_type = {



static char *bst_devnode(struct device *dev, mode_t *mode)
static char *bst_devnode(struct device *dev, umode_t *mode)
{
	return kasprintf(GFP_KERNEL, "%s", dev_name(dev));
}