summaryrefslogtreecommitdiffstats
path: root/kernel/include/linux/cuda.h
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/include/linux/cuda.h')
-rw-r--r--kernel/include/linux/cuda.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/kernel/include/linux/cuda.h b/kernel/include/linux/cuda.h
new file mode 100644
index 000000000..b72332823
--- /dev/null
+++ b/kernel/include/linux/cuda.h
@@ -0,0 +1,18 @@
+/*
+ * Definitions for talking to the CUDA. The CUDA is a microcontroller
+ * which controls the ADB, system power, RTC, and various other things.
+ *
+ * Copyright (C) 1996 Paul Mackerras.
+ */
+#ifndef _LINUX_CUDA_H
+#define _LINUX_CUDA_H
+
+#include <uapi/linux/cuda.h>
+
+
+extern int find_via_cuda(void);
+extern int cuda_request(struct adb_request *req,
+ void (*done)(struct adb_request *), int nbytes, ...);
+extern void cuda_poll(void);
+
+#endif /* _LINUX_CUDA_H */