Browse Source

staging: comedi: dt3000: add a simple dev_info() when attached

When the board is finished with the attach output a simple dev_info()
message.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Cc: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
H Hartley Sweeten 12 years ago
parent
commit
c3ebe8f634
1 changed files with 2 additions and 0 deletions
  1. 2 0
      drivers/staging/comedi/drivers/dt3000.c

+ 2 - 0
drivers/staging/comedi/drivers/dt3000.c

@@ -868,6 +868,8 @@ static int dt3000_attach_pci(struct comedi_device *dev,
 	s->type = COMEDI_SUBD_PROC;
 #endif
 
+	dev_info(dev->class_dev, "%s attached\n", dev->board_name);
+
 	return 0;
 }