diff options
| author | Nicolas Pitre <[email protected]> | 2016-09-20 23:25:58 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2016-09-22 06:18:33 +0000 |
| commit | efee95f42b5dddedcaff0a0eaa44e170fc7522e8 (patch) | |
| tree | e5d83b374d57e1bced53af0345db98f0f6cd4373 /drivers/net/xen-netback/interface.c | |
| parent | net: ethernet: hisilicon: hns: use new api ethtool_{get|set}_link_ksettings (diff) | |
| download | kernel-efee95f42b5dddedcaff0a0eaa44e170fc7522e8.tar.gz kernel-efee95f42b5dddedcaff0a0eaa44e170fc7522e8.zip | |
ptp_clock: future-proofing drivers against PTP subsystem becoming optional
Drivers must be ready to accept NULL from ptp_clock_register() if the
PTP clock subsystem is configured out.
This patch documents that and ensures that all drivers cope well
with a NULL return.
Signed-off-by: Nicolas Pitre <[email protected]>
Reviewed-by: Eugenia Emantayev <[email protected]>
Acked-by: Richard Cochran <[email protected]>
Acked-by: Edward Cree <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'drivers/net/xen-netback/interface.c')
0 files changed, 0 insertions, 0 deletions
