Merge "soc: hab: add bootmarker for hab driver"

This commit is contained in:
Linux Build Service Account 2018-09-21 09:14:53 -07:00 committed by Gerrit - the friendly Code Review server
commit 1804f6dc98
2 changed files with 5 additions and 0 deletions

View file

@ -1315,6 +1315,8 @@ static int __init hab_init(void)
int result;
dev_t dev;
place_marker("M - HAB INIT Start");
result = alloc_chrdev_region(&hab_driver.major, 0, 1, "hab");
if (result < 0) {
@ -1372,6 +1374,8 @@ static int __init hab_init(void)
hab_stat_init(&hab_driver);
place_marker("M - HAB INIT End");
return result;
err:

View file

@ -45,6 +45,7 @@
#include <linux/reboot.h>
#include <linux/kobject.h>
#include <linux/sysfs.h>
#include <soc/qcom/boot_stats.h>
enum hab_payload_type {
HAB_PAYLOAD_TYPE_MSG = 0x0,