From: H Hartley Sweeten Date: Fri, 26 Oct 2012 00:26:10 +0000 (-0700) Subject: staging: comedi: dt3000: add a simple dev_info() when attached X-Git-Tag: upstream/snapshot3+hdmi~6135^2~945 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c3ebe8f634829e394b527b2b6eea67af01379a2a;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git 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 Cc: Ian Abbott Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/comedi/drivers/dt3000.c b/drivers/staging/comedi/drivers/dt3000.c index be65a1c..e29049e 100644 --- a/drivers/staging/comedi/drivers/dt3000.c +++ b/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; }