]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - include/linux/htcpld.h
mm/hotplug: invalid PFNs from pfn_to_online_page()
[mirror_ubuntu-bionic-kernel.git] / include / linux / htcpld.h
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef __LINUX_HTCPLD_H
3 #define __LINUX_HTCPLD_H
4
5 struct htcpld_chip_platform_data {
6 unsigned int addr;
7 unsigned int reset;
8 unsigned int num_gpios;
9 unsigned int gpio_out_base;
10 unsigned int gpio_in_base;
11 unsigned int irq_base;
12 unsigned int num_irqs;
13 };
14
15 struct htcpld_core_platform_data {
16 unsigned int int_reset_gpio_hi;
17 unsigned int int_reset_gpio_lo;
18 unsigned int i2c_adapter_id;
19
20 struct htcpld_chip_platform_data *chip;
21 unsigned int num_chip;
22 };
23
24 #endif /* __LINUX_HTCPLD_H */
25