]> git.sur5r.net Git - u-boot/blobdiff - drivers/ata/ahci-uclass.c
Merge branch 'master' of git://git.denx.de/u-boot-i2c
[u-boot] / drivers / ata / ahci-uclass.c
index 7b8c32699f534abd1c626dac18dfa796aabcdc52..42bbff962bcfc2886a6bac623e862830bb8d5402 100644 (file)
@@ -1,14 +1,15 @@
+// SPDX-License-Identifier: GPL-2.0+
 /*
  * Copyright (c) 2015 Google, Inc
  * Written by Simon Glass <sjg@chromium.org>
- *
- * SPDX-License-Identifier:    GPL-2.0+
  */
 
 #include <common.h>
+#include <ahci.h>
 #include <dm.h>
 
 UCLASS_DRIVER(ahci) = {
        .id             = UCLASS_AHCI,
        .name           = "ahci",
+       .per_device_auto_alloc_size = sizeof(struct ahci_uc_priv),
 };