On Tue, Feb 16, 2021 at 05:05:25PM +0100, Maciej Kwapulinski wrote:
> +static inline struct gna_private *inode_to_gna(struct inode *inode)
> +{
> + return container_of(inode->i_cdev, struct gna_private, cdev);
> +}
> +
> +static int gna_open(struct inode *inode, struct file *f)
> +{
> +
From: Tomasz Jankowski
The new char device is the node for applications in user space to
interact with the driver.
Signed-off-by: Tomasz Jankowski
Tested-by: Savo Novakovic
Co-developed-by: Jianxun Zhang
Signed-off-by: Jianxun Zhang
Co-developed-by: Maciej Kwapulinski
Signed-off-by: Maciej
2 matches
Mail list logo