* @nb: pointer to the notifier_block structure of the vendor record handler.
   */
  void ghes_unregister_vendor_record_notifier(struct notifier_block *nb);
- #endif
- 
- int ghes_estatus_pool_init(unsigned int num_ghes);
- 
- /* From drivers/edac/ghes_edac.c */
- 
- #ifdef CONFIG_EDAC_GHES
- void ghes_edac_report_mem_error(int sev, struct cper_sec_mem_err *mem_err);
- 
- int ghes_edac_register(struct ghes *ghes, struct device *dev);
- 
- void ghes_edac_unregister(struct ghes *ghes);
  
+ struct list_head *ghes_get_devices(void);
  #else
- static inline void ghes_edac_report_mem_error(int sev,
-                                      struct cper_sec_mem_err *mem_err)
- {
- }
- 
- static inline int ghes_edac_register(struct ghes *ghes, struct device *dev)
- {
-       return -ENODEV;
- }
- 
- static inline void ghes_edac_unregister(struct ghes *ghes)
- {
- }
+ static inline struct list_head *ghes_get_devices(void) { return NULL; }
  #endif
  
 -int ghes_estatus_pool_init(int num_ghes);
++int ghes_estatus_pool_init(unsigned int num_ghes);
+ 
  static inline int acpi_hest_get_version(struct acpi_hest_generic_data *gdata)
  {
        return gdata->revision >> 8;