blob: 6790ed608cbc0751e2112f90065ddda07ceaf272 [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
David S. Miller881d0212008-08-24 22:08:34 -07002#ifndef _SPARC_MEMCTRL_H
3#define _SPARC_MEMCTRL_H
4
5typedef int (*dimm_printer_t)(int synd_code, unsigned long paddr, char *buf, int buflen);
6
7int register_dimm_printer(dimm_printer_t func);
8void unregister_dimm_printer(dimm_printer_t func);
9
10#endif /* _SPARC_MEMCTRL_H */