summaryrefslogtreecommitdiff
path: root/src/drivers/aspeed/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/drivers/aspeed/common')
-rw-r--r--src/drivers/aspeed/common/aspeed_coreboot.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/aspeed/common/aspeed_coreboot.h b/src/drivers/aspeed/common/aspeed_coreboot.h
index 5a208e6046..b974840308 100644
--- a/src/drivers/aspeed/common/aspeed_coreboot.h
+++ b/src/drivers/aspeed/common/aspeed_coreboot.h
@@ -73,7 +73,7 @@ struct drm_device {
};
static inline void *kzalloc(size_t size, int flags) {
- void* ptr = malloc(size);
+ void *ptr = malloc(size);
memset(ptr, 0, size);
return ptr;
}