summaryrefslogtreecommitdiffstats
path: root/kernel/arch/x86/platform/intel-mid/device_libs/platform_bma023.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/arch/x86/platform/intel-mid/device_libs/platform_bma023.c')
-rw-r--r--kernel/arch/x86/platform/intel-mid/device_libs/platform_bma023.c20
1 files changed, 20 insertions, 0 deletions
diff --git a/kernel/arch/x86/platform/intel-mid/device_libs/platform_bma023.c b/kernel/arch/x86/platform/intel-mid/device_libs/platform_bma023.c
new file mode 100644
index 000000000..0ae7f2ae2
--- /dev/null
+++ b/kernel/arch/x86/platform/intel-mid/device_libs/platform_bma023.c
@@ -0,0 +1,20 @@
+/*
+ * platform_bma023.c: bma023 platform data initilization file
+ *
+ * (C) Copyright 2013 Intel Corporation
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; version 2
+ * of the License.
+ */
+
+#include <asm/intel-mid.h>
+
+static const struct devs_id bma023_dev_id __initconst = {
+ .name = "bma023",
+ .type = SFI_DEV_TYPE_I2C,
+ .delay = 1,
+};
+
+sfi_device(bma023_dev_id);