firmware: dmi: Remember the memory type
authorJean Delvare <jdelvare@suse.de>
Tue, 3 Dec 2019 10:20:37 +0000 (11:20 +0100)
committerJean Delvare <jdelvare@suse.de>
Tue, 3 Dec 2019 10:20:37 +0000 (11:20 +0100)
commit9e0afe3910ff7e5493c5d8ebe3b499994b5e0272
treeecd339db89265e68bc684b98035b74d1af2af16c
parent219d54332a09e8d8741c1e1982f5eae56099de85
firmware: dmi: Remember the memory type

Store the memory type while walking the memory slots, and provide a
way to retrieve it later.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
drivers/firmware/dmi_scan.c
include/linux/dmi.h