mirror of
https://github.com/ukui/kernel.git
synced 2026-03-09 10:07:04 -07:00
Staging: most: add MOST driver's aim-cdev module
This patch adds the aim-cdev module of the MOST driver to the kernel's driver staging area. This module is part of the MOST driver and handles user space interaction by means of character devices. This patch is needed in order to have access to MOST data through character devices. Signed-off-by: Christian Gromm <christian.gromm@microchip.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
57562a7241
commit
9bc79bbcd0
@@ -13,4 +13,6 @@ if MOST
|
||||
|
||||
source "drivers/staging/most/mostcore/Kconfig"
|
||||
|
||||
source "drivers/staging/most/aim-cdev/Kconfig"
|
||||
|
||||
endif
|
||||
|
||||
@@ -1 +1,2 @@
|
||||
obj-$(CONFIG_MOSTCORE) += mostcore/
|
||||
obj-$(CONFIG_AIM_CDEV) += aim-cdev/
|
||||
|
||||
12
drivers/staging/most/aim-cdev/Kconfig
Normal file
12
drivers/staging/most/aim-cdev/Kconfig
Normal file
@@ -0,0 +1,12 @@
|
||||
#
|
||||
# MOST Cdev configuration
|
||||
#
|
||||
|
||||
config AIM_CDEV
|
||||
tristate "Cdev AIM"
|
||||
|
||||
---help---
|
||||
Say Y here if you want to commumicate via character devices.
|
||||
|
||||
To compile this driver as a module, choose M here: the
|
||||
module will be called aim_cdev.
|
||||
4
drivers/staging/most/aim-cdev/Makefile
Normal file
4
drivers/staging/most/aim-cdev/Makefile
Normal file
@@ -0,0 +1,4 @@
|
||||
obj-$(CONFIG_AIM_CDEV) += aim_cdev.o
|
||||
|
||||
aim_cdev-objs := cdev.o
|
||||
ccflags-y += -Idrivers/staging/most/mostcore/
|
||||
527
drivers/staging/most/aim-cdev/cdev.c
Normal file
527
drivers/staging/most/aim-cdev/cdev.c
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user