[PATCH 1/2] staging: dgnc: Make the struct dgnc_board possible to use list facility

Konrad Zapalowicz bergo.torino+kernel at gmail.com
Sun Aug 31 21:23:57 UTC 2014


This commit adds the struct list_head to the struct dgnc_board so that
it is now possible to use it with the Linux list facility.

Signed-off-by: Konrad Zapalowicz <bergo.torino+kernel at gmail.com>
---
 drivers/staging/dgnc/dgnc_driver.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/staging/dgnc/dgnc_driver.h b/drivers/staging/dgnc/dgnc_driver.h
index 1111020..251b082 100644
--- a/drivers/staging/dgnc/dgnc_driver.h
+++ b/drivers/staging/dgnc/dgnc_driver.h
@@ -209,6 +209,7 @@ struct board_ops {
  *	Per-board information
  */
 struct dgnc_board {
+	struct list_head list;
 	int		magic;		/* Board Magic number.  */
 	int		boardnum;	/* Board number: 0-32 */
 
-- 
1.8.1.2



More information about the devel mailing list