cachepc-linux

Fork of AMDESE/linux with modifications for CachePC side-channel attack
git clone https://git.sinitax.com/sinitax/cachepc-linux
Log | Files | Refs | README | LICENSE | sfeed.txt

ufs_bsg.h (420B)


      1/* SPDX-License-Identifier: GPL-2.0 */
      2/*
      3 * Copyright (C) 2018 Western Digital Corporation
      4 */
      5#ifndef UFS_BSG_H
      6#define UFS_BSG_H
      7
      8struct ufs_hba;
      9
     10#ifdef CONFIG_SCSI_UFS_BSG
     11void ufs_bsg_remove(struct ufs_hba *hba);
     12int ufs_bsg_probe(struct ufs_hba *hba);
     13#else
     14static inline void ufs_bsg_remove(struct ufs_hba *hba) {}
     15static inline int ufs_bsg_probe(struct ufs_hba *hba) {return 0; }
     16#endif
     17
     18#endif /* UFS_BSG_H */