Back to home page

OSCL-LXR

 
 

    


0001 /* SPDX-License-Identifier: GPL-2.0 or BSD-3-Clause */
0002 /*
0003  * Copyright(c) 2015, 2016 Intel Corporation.
0004  */
0005 
0006 #ifndef _HFI1_DEVICE_H
0007 #define _HFI1_DEVICE_H
0008 
0009 int hfi1_cdev_init(int minor, const char *name,
0010            const struct file_operations *fops,
0011            struct cdev *cdev, struct device **devp,
0012            bool user_accessible,
0013            struct kobject *parent);
0014 void hfi1_cdev_cleanup(struct cdev *cdev, struct device **devp);
0015 const char *class_name(void);
0016 int __init dev_init(void);
0017 void dev_cleanup(void);
0018 
0019 #endif                          /* _HFI1_DEVICE_H */