staging: vchiq: Move vchiq char driver to its own file
Split the initialization code of vchiq char driver and device files from that of vchiq platform. The char driver code now resides in vchiq_dev.c and the platform code resides in the original vchiq_arm.c file. This commit focuses on separating the code into different files while maintaining the same functionality. It does not completely decouple them as the cdev init code is still called from the platform's vchiq_probe() function. Reviewed-by: Stefan Wahren <stefan.wahren@i2se.com> Signed-off-by: Ojaswin Mujoo <ojaswin98@gmail.com> Link: https://lore.kernel.org/r/ed53690e217f631b746aad0585fccaa6fb1453c1.1626882325.git.ojaswin98@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
c405028f47
commit
f05916281f
@ -7,6 +7,7 @@ vchiq-objs := \
|
||||
interface/vchiq_arm/vchiq_2835_arm.o \
|
||||
interface/vchiq_arm/vchiq_debugfs.o \
|
||||
interface/vchiq_arm/vchiq_connected.o \
|
||||
interface/vchiq_arm/vchiq_dev.o \
|
||||
|
||||
obj-$(CONFIG_SND_BCM2835) += bcm2835-audio/
|
||||
obj-$(CONFIG_VIDEO_BCM2835) += bcm2835-camera/
|
||||
|
File diff suppressed because it is too large
Load Diff
1440
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_dev.c
Normal file
1440
drivers/staging/vc04_services/interface/vchiq_arm/vchiq_dev.c
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user