On Tue, 2015-01-20 at 16:08 +0200, Mohamed Lotfy Hammad wrote: > This patch fixes the following checkpatch.pl warning: > fix line over 80 characters [] > diff --git a/drivers/staging/dgnc/dgnc_driver.c b/drivers/staging/dgnc/dgnc_driver.c [] > @@ -54,14 +54,14 @@ MODULE_SUPPORTED_DEVICE("dgnc"); > * protos for this file > * > */ > -static int dgnc_start(void); > -static int dgnc_finalize_board_init(struct dgnc_board *brd); > -static void dgnc_init_globals(void); > -static int dgnc_found_board(struct pci_dev *pdev, int id); > -static void dgnc_cleanup_board(struct dgnc_board *brd); > -static void dgnc_poll_handler(ulong dummy); > -static int dgnc_init_one(struct pci_dev *pdev, const struct pci_device_id *ent); > -static void dgnc_do_remap(struct dgnc_board *brd); > +static int dgnc_start(void); > +static int dgnc_finalize_board_init(struct dgnc_board *brd); > +static void dgnc_init_globals(void); > +static int dgnc_found_board(struct pci_dev *pdev, int id); > +static void dgnc_cleanup_board(struct dgnc_board *brd); > +static void dgnc_poll_handler(ulong dummy); > +static int dgnc_init_one(struct pci_dev *pdev, const struct pci_device_id *ent); > +static void dgnc_do_remap(struct dgnc_board *brd); Better still would be to eventually rearrange the code to avoid the need for static forward declarations. _______________________________________________ devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxx http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel