]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bnxt_en: Fix build error for kernesl without RTC-LIB
authorRob Swindell <swindell@broadcom.com>
Tue, 20 Sep 2016 07:36:33 +0000 (03:36 -0400)
committerDhaval Giani <dhaval.giani@oracle.com>
Fri, 20 Jan 2017 18:07:48 +0000 (13:07 -0500)
commit33b6f3c7f63cf2a4f4e7d65b2b1272a190b26859
treeddaec946e3d6a59a77fcd3572275eae84bfde3cc
parentddec474b3d01a5e352fa4b2d0de1351c2a896060
bnxt_en: Fix build error for kernesl without RTC-LIB

Orabug: 24567991

bnxt_hwrm_fw_set_time() now returns -EOPNOTSUPP when built for kernel
without RTC_LIB.  Setting the firmware time is not critical to the
successful completion of the firmware update process.

Signed-off-by: Rob Swindell <Rob.Swindell@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
(cherry picked from commit 878786d95e07ce2f5fb6e3cd8a6c2ed320339196)
Signed-off-by: Brian Maly <brian.maly@oracle.com>
Signed-off-by: Dhaval Giani <dhaval.giani@oracle.com>
drivers/net/ethernet/broadcom/bnxt/bnxt.c