aboutsummaryrefslogtreecommitdiff
path: root/include/fsl_devdis.h
diff options
context:
space:
mode:
authorthead_admin <occ_thead@service.alibaba.com>2022-09-13 11:04:33 +0800
committerthead_admin <occ_thead@service.alibaba.com>2022-09-13 11:04:33 +0800
commit43db9e00d5837c100c0b2fbbee64a08ab807d1e0 (patch)
treeb40c0eed02935b6682e8c5c975e3016b6b2f55fe /include/fsl_devdis.h
Linux_SDK_V0.9.5Linux_SDK_V0.9.5
Diffstat (limited to 'include/fsl_devdis.h')
-rw-r--r--include/fsl_devdis.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/include/fsl_devdis.h b/include/fsl_devdis.h
new file mode 100644
index 00000000..1f1b0333
--- /dev/null
+++ b/include/fsl_devdis.h
@@ -0,0 +1,17 @@
+/* SPDX-License-Identifier: GPL-2.0+ */
+/*
+ * Copyright 2015 Freescale Semiconductor, Inc.
+ */
+
+#ifndef __FSL_DEVDIS_H_
+#define __FSL_DEVDIS_H_
+
+struct devdis_table {
+ char name[32];
+ u32 offset;
+ u32 mask;
+};
+
+void device_disable(const struct devdis_table *tbl, uint32_t num);
+
+#endif