diff options
author | Michael Chan <[email protected]> | 2024-11-22 14:45:45 -0800 |
---|---|---|
committer | Paolo Abeni <[email protected]> | 2024-11-26 15:29:31 +0100 |
commit | 1e9614cd956268e10a669c0593e7e54d03d0c087 (patch) | |
tree | d268bfe550e3b6a26a6b10f9608b16f6a1b1a14e /drivers/fpga/fpga-mgr.c | |
parent | 3051a77a09dfe3022aa012071346937fdf059033 (diff) |
bnxt_en: Refactor bnxt_ptp_init()
Instead of passing the 2nd parameter phc_cfg to bnxt_ptp_init().
Store it in bp->ptp_cfg so that the caller doesn't need to know what
the value should be.
In the next patch, we'll need to call bnxt_ptp_init() in bnxt_resume()
and this will make it easier.
Reviewed-by: Somnath Kotur <[email protected]>
Reviewed-by: Pavan Chebbi <[email protected]>
Reviewed-by: Kalesh AP <[email protected]>
Signed-off-by: Michael Chan <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions