Re: [PATCH 1/3] fpga manager framework core
From: Pavel Machek
Date: Fri Aug 01 2014 - 20:15:55 EST
Hi!
> +static int fpga_mgr_get_new_minor(struct fpga_manager *mgr, int request_nr)
> +{
> + int nr, start;
> +
> + /* check specified minor number */
> + if (request_nr >= FPGA_MAX_MINORS) {
> + dev_err(mgr->parent, "Out of device minors (%d)\n", request_nr);
> + return -ENODEV;
> + }
if (request_nr < -1)
return -EINVAL;
?
> + /* FPGA mangager isr */
> + irqreturn_t (*isr)(int irq, void *dev_id);
> +};
"manager"?
Best regards,
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/