]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blame - include/linux/platform_data/touchscreen-s3c2410.h
ACPI: fix acpi_find_child_device() invocation in acpi_preset_companion()
[mirror_ubuntu-bionic-kernel.git] / include / linux / platform_data / touchscreen-s3c2410.h
CommitLineData
1560a838 1/*
ce8877b5
AP
2 * Copyright (c) 2005 Arnaud Patard <arnaud.patard@rtp-net.org>
3 *
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
7*/
8
1560a838
SK
9#ifndef __TOUCHSCREEN_S3C2410_H
10#define __TOUCHSCREEN_S3C2410_H
ce8877b5
AP
11
12struct s3c2410_ts_mach_info {
1560a838
SK
13 int delay;
14 int presc;
15 int oversampling_shift;
16 void (*cfg_gpio)(struct platform_device *dev);
ce8877b5
AP
17};
18
19extern void s3c24xx_ts_set_platdata(struct s3c2410_ts_mach_info *);
a829ae57 20extern void s3c64xx_ts_set_platdata(struct s3c2410_ts_mach_info *);
ce8877b5 21
5bfdca14
NK
22/* defined by architecture to configure gpio */
23extern void s3c24xx_ts_cfg_gpio(struct platform_device *dev);
24
1560a838 25#endif /*__TOUCHSCREEN_S3C2410_H */