* Return true if the driver is aware of the abi version extensions in the * pps_state structure, and it supports at least the given abi version number. */
| 1530 | * pps_state structure, and it supports at least the given abi version number. |
| 1531 | */ |
| 1532 | static inline int |
| 1533 | abi_aware(struct pps_state *pps, int vers) |
| 1534 | { |
| 1535 | |
| 1536 | return ((pps->kcmode & KCMODE_ABIFLAG) && pps->driver_abi >= vers); |
| 1537 | } |
| 1538 | |
| 1539 | static int |
| 1540 | pps_fetch(struct pps_fetch_args *fapi, struct pps_state *pps) |