brintos

brintos / linux-shallow public Read only

0
0
Text · 548 B · a91bea4 Raw
20 lines · c
1/* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */2/*3 * Copyright(c) 2015, 2016 Intel Corporation.4 */5 6#ifndef _HFI1_DEVICE_H7#define _HFI1_DEVICE_H8 9int hfi1_cdev_init(int minor, const char *name,10		   const struct file_operations *fops,11		   struct cdev *cdev, struct device **devp,12		   bool user_accessible,13		   struct kobject *parent);14void hfi1_cdev_cleanup(struct cdev *cdev, struct device **devp);15const char *class_name(void);16int __init dev_init(void);17void dev_cleanup(void);18 19#endif                          /* _HFI1_DEVICE_H */20