| .. | .. |
|---|
| 141 | 141 | *typec_port_register_altmode(struct typec_port *port, |
|---|
| 142 | 142 | const struct typec_altmode_desc *desc); |
|---|
| 143 | 143 | |
|---|
| 144 | | -#ifdef CONFIG_NO_GKI |
|---|
| 145 | 144 | void typec_port_register_altmodes(struct typec_port *port, |
|---|
| 146 | 145 | const struct typec_altmode_ops *ops, void *drvdata, |
|---|
| 147 | 146 | struct typec_altmode **altmodes, size_t n); |
|---|
| 148 | | -#else |
|---|
| 149 | | -static inline void typec_port_register_altmodes(struct typec_port *port, |
|---|
| 150 | | - const struct typec_altmode_ops *ops, void *drvdata, |
|---|
| 151 | | - struct typec_altmode **altmodes, size_t n) |
|---|
| 152 | | -{ |
|---|
| 153 | | -} |
|---|
| 154 | | -#endif |
|---|
| 155 | 147 | |
|---|
| 156 | 148 | void typec_unregister_altmode(struct typec_altmode *altmode); |
|---|
| 157 | 149 | |
|---|