From b674f9df207dc7da7b77ada82e0fb072ba06267c Mon Sep 17 00:00:00 2001 From: H Hartley Sweeten Date: Thu, 26 Jun 2014 10:13:08 -0700 Subject: [PATCH] staging: comedi: ni_stc.h: the boardinfo 'name' should be first By convention, the first member of the boardinfo is a 'const char *' to the board name, especially for those comedi drivers that rely on the comedi core to set dev->board_ptr to the entry matching the board name when doing a legacy (*attach) to a comedi driver. Modify the ni_board_struct appropriately for consistency, although the board name is only used for informational purposes by this driver (only the driver name is matched by the comedi core). For aesthetics, also move the members in the boardinfo declarations. Signed-off-by: H Hartley Sweeten Reviewed-by: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- Reading git-format-patch failed