goto free_char_dev;
return ret;
static int __init pcilynx_init(void){        int ret;#ifdef CONFIG_IEEE1394_PCILYNX_PORTS        if (register_chrdev(PCILYNX_MAJOR, PCILYNX_DRIVER_NAME, &aux_ops)) {                PRINT_G(KERN_ERR, "allocation of char major number %d failed",                        PCILYNX_MAJOR);                return -EBUSY;        }#endif        ret = pci_register_driver(&lynx_pci_driver);        if (ret < 0) {                PRINT_G(KERN_ERR, "PCI module init failed");                goto free_char_dev;        }        return 0; free_char_dev:#ifdef CONFIG_IEEE1394_PCILYNX_PORTS        unregister_chrdev(PCILYNX_MAJOR, PCILYNX_DRIVER_NAME);#endif        return ret;}