bnxt_debugfs.h 699 B

123456789101112131415161718192021222324
  1. /* Broadcom NetXtreme-C/E network driver.
  2. *
  3. * Copyright (c) 2017-2018 Broadcom Limited
  4. *
  5. * This program is free software; you can redistribute it and/or modify
  6. * it under the terms of the GNU General Public License as published by
  7. * the Free Software Foundation.
  8. */
  9. #include "bnxt_hsi.h"
  10. #include "bnxt.h"
  11. #ifdef CONFIG_DEBUG_FS
  12. void bnxt_debug_init(void);
  13. void bnxt_debug_exit(void);
  14. void bnxt_debug_dev_init(struct bnxt *bp);
  15. void bnxt_debug_dev_exit(struct bnxt *bp);
  16. #else
  17. static inline void bnxt_debug_init(void) {}
  18. static inline void bnxt_debug_exit(void) {}
  19. static inline void bnxt_debug_dev_init(struct bnxt *bp) {}
  20. static inline void bnxt_debug_dev_exit(struct bnxt *bp) {}
  21. #endif