summaryrefslogtreecommitdiff
path: root/drivers/dca
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/dca')
-rw-r--r--drivers/dca/dca-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/dca/dca-core.c b/drivers/dca/dca-core.c
index f5cedf816be1..583510850fad 100644
--- a/drivers/dca/dca-core.c
+++ b/drivers/dca/dca-core.c
@@ -44,7 +44,7 @@ static struct dca_domain *dca_allocate_domain(struct pci_bus *rc)
{
struct dca_domain *domain;
- domain = kzalloc(sizeof(*domain), GFP_NOWAIT);
+ domain = kzalloc_obj(*domain, GFP_NOWAIT);
if (!domain)
return NULL;