RE: [PATCH v3 2/2] scsi: ufs: Add temperature notification exception handling
From: Avri Altman
Date: Mon Sep 13 2021 - 02:10:03 EST
> > diff --git a/drivers/scsi/ufs/ufshcd.h b/drivers/scsi/ufs/ufshcd.h
> > index 798a408d71e5..e6abce9a8b00 100644
> > --- a/drivers/scsi/ufs/ufshcd.h
> > +++ b/drivers/scsi/ufs/ufshcd.h
> > @@ -1063,9 +1063,11 @@ static inline u8
> ufshcd_wb_get_query_index(struct ufs_hba *hba)
> > #ifdef CONFIG_SCSI_UFS_HWMON
> > void ufs_hwmon_probe(struct ufs_hba *hba, u8 mask);
> > void ufs_hwmon_remove(struct ufs_hba *hba);
> > +void ufs_hwmon_notify_event(struct ufs_hba *hba, u8 ee_mask);
> > #else
> > static inline void ufs_hwmon_probe(struct ufs_hba *hba, u8 mask) {}
> > static inline void ufs_hwmon_remove(struct ufs_hba *hba) {}
> > +void ufs_hwmon_notify_event(struct ufs_hba *hba, u8 ee_mask) {}
>
> static
Done.
>
> > #endif
> >
> > #ifdef CONFIG_PM
> >