summaryrefslogtreecommitdiff
path: root/drivers/block/ahci-uclass.c
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2016-05-01 11:35:52 -0600
committerSimon Glass <sjg@chromium.org>2016-05-17 09:54:43 -0600
commita219639d4216e59a0c55f0b7d2c8a21f9cb0bb06 (patch)
tree1eb848be39e101a4e1c307a64b9a15d1404e513e /drivers/block/ahci-uclass.c
parentcf63084492377108698619f6d33967af2119e584 (diff)
dm: Rename disk uclass to ahci
This started as 'ahci' and was renamed to 'disk' during code review. But it seems that this is too generic. Now that we have a 'blk' uclass, we can use that as the generic piece, and revert to ahci for this. Signed-off-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/block/ahci-uclass.c')
-rw-r--r--drivers/block/ahci-uclass.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/block/ahci-uclass.c b/drivers/block/ahci-uclass.c
new file mode 100644
index 0000000000..7b8c32699f
--- /dev/null
+++ b/drivers/block/ahci-uclass.c
@@ -0,0 +1,14 @@
+/*
+ * Copyright (c) 2015 Google, Inc
+ * Written by Simon Glass <sjg@chromium.org>
+ *
+ * SPDX-License-Identifier: GPL-2.0+
+ */
+
+#include <common.h>
+#include <dm.h>
+
+UCLASS_DRIVER(ahci) = {
+ .id = UCLASS_AHCI,
+ .name = "ahci",
+};