Skip to content

Commit

Permalink
HACK: more fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dax committed Oct 10, 2024
1 parent 0591793 commit 9aea122
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 1 deletion.
2 changes: 2 additions & 0 deletions arch/arm/mach-msm/lge/e0/board-input/board-input.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#ifndef __ARCH_MSM_BOARD_E0_INPUT_H
#define __ARCH_MSM_BOARD_E0_INPUT_H

#include <linux/init.h>

void __init add_bosch_sensors(void);

void __init add_gp2ap_proximity(void);
Expand Down
1 change: 1 addition & 0 deletions arch/arm/mach-msm/lge/e0/board-input/bosch_sensors.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#include <linux/platform_device.h>
#include <linux/i2c.h>
#include <linux/init.h>

#include CONFIG_LGE_BOARD_HEADER_FILE

Expand Down
3 changes: 2 additions & 1 deletion arch/arm/mach-msm/lge/e0/board-input/gpio_earsense.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#include <linux/gpio.h>
#include <linux/input.h>
#include <linux/delay.h>
#include <linux/init.h>

#include CONFIG_LGE_BOARD_HEADER_FILE

Expand Down Expand Up @@ -205,4 +206,4 @@ void __init add_gpio_earsense(void)
}

platform_add_devices(e0_earsense_devices, ARRAY_SIZE(e0_earsense_devices));
}
}
1 change: 1 addition & 0 deletions arch/arm/mach-msm/lge/e0/board-input/gpio_keypad.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#include <linux/gpio_event.h>
#include <mach/rpc_server_handset.h>
#include <asm/gpio.h>
#include <linux/init.h>

#include CONFIG_LGE_BOARD_HEADER_FILE

Expand Down
1 change: 1 addition & 0 deletions arch/arm/mach-msm/lge/e0/board-input/pmic_leds.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#include <linux/platform_device.h>
#include <linux/init.h>


#if (defined(CONFIG_LEDS_MSM_PMIC_E0) || defined(CONFIG_LEDS_MSM_PMIC_E0_MODULE))
Expand Down
1 change: 1 addition & 0 deletions arch/arm/mach-msm/lge/e0/board-input/proximity_gp2ap.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
#include <linux/platform_device.h>
#include <linux/i2c.h>
#include <linux/init.h>

#include CONFIG_LGE_BOARD_HEADER_FILE

Expand Down
1 change: 1 addition & 0 deletions arch/arm/mach-msm/lge/e0/board-input/touchscreen-mms128.c
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
#include <linux/i2c.h>
#include <asm/gpio.h>
#include <linux/regulator/consumer.h>
#include <linux/init.h>

#include CONFIG_LGE_BOARD_HEADER_FILE

Expand Down
3 changes: 3 additions & 0 deletions arch/arm/mach-msm/lge/e0/board-msm7627a-io_e0.c
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#include "./board-input/board-input.h"
#include <linux/init.h>

void __init msm_init_pmic_vibrator(void);

void __init msm7627a_add_io_devices(void)
{
Expand Down

0 comments on commit 9aea122

Please sign in to comment.