1 // SPDX-License-Identifier: GPL-2.0+
2 // Copyright 2017 IBM Corp.
3 #include <linux/module.h>
6 #include "ocxl_internal.h"
8 static int __init init_ocxl(void)
15 rc = ocxl_file_init();
19 rc = pci_register_driver(&ocxl_pci_driver);
27 static void exit_ocxl(void)
29 pci_unregister_driver(&ocxl_pci_driver);
33 module_init(init_ocxl);
34 module_exit(exit_ocxl);
36 MODULE_DESCRIPTION("Open Coherent Accelerator");
37 MODULE_LICENSE("GPL");