pc-dimm: add static define

Signed-off-by: zhang.zhanghailiang <jesse.zhanghailiang@gmail.com>