File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -684,16 +684,6 @@ int gpiochip_populate_parent_fwspec_fourcell(struct gpio_chip *gc,
684684
685685#endif /* CONFIG_IRQ_DOMAIN_HIERARCHY */
686686
687- #define GPIO_GENERIC_BIG_ENDIAN BIT(0)
688- #define GPIO_GENERIC_UNREADABLE_REG_SET BIT(1) /* reg_set is unreadable */
689- #define GPIO_GENERIC_UNREADABLE_REG_DIR BIT(2) /* reg_dir is unreadable */
690- #define GPIO_GENERIC_BIG_ENDIAN_BYTE_ORDER BIT(3)
691- #define GPIO_GENERIC_READ_OUTPUT_REG_SET BIT(4) /* reg_set stores output value */
692- #define GPIO_GENERIC_NO_OUTPUT BIT(5) /* only input */
693- #define GPIO_GENERIC_NO_SET_ON_INPUT BIT(6)
694- #define GPIO_GENERIC_PINCTRL_BACKEND BIT(7) /* Call pinctrl direction setters */
695- #define GPIO_GENERIC_NO_INPUT BIT(8) /* only output */
696-
697687#ifdef CONFIG_GPIOLIB_IRQCHIP
698688int gpiochip_irqchip_add_domain (struct gpio_chip * gc ,
699689 struct irq_domain * domain );
Original file line number Diff line number Diff line change 99
1010struct device ;
1111
12+ #define GPIO_GENERIC_BIG_ENDIAN BIT(0)
13+ #define GPIO_GENERIC_UNREADABLE_REG_SET BIT(1) /* reg_set is unreadable */
14+ #define GPIO_GENERIC_UNREADABLE_REG_DIR BIT(2) /* reg_dir is unreadable */
15+ #define GPIO_GENERIC_BIG_ENDIAN_BYTE_ORDER BIT(3)
16+ #define GPIO_GENERIC_READ_OUTPUT_REG_SET BIT(4) /* reg_set stores output value */
17+ #define GPIO_GENERIC_NO_OUTPUT BIT(5) /* only input */
18+ #define GPIO_GENERIC_NO_SET_ON_INPUT BIT(6)
19+ #define GPIO_GENERIC_PINCTRL_BACKEND BIT(7) /* Call pinctrl direction setters */
20+ #define GPIO_GENERIC_NO_INPUT BIT(8) /* only output */
21+
1222/**
1323 * struct gpio_generic_chip_config - Generic GPIO chip configuration data
1424 * @dev: Parent device of the new GPIO chip (compulsory).
You can’t perform that action at this time.
0 commit comments