Module Name:    src
Committed By:   kiyohara
Date:           Sat Dec 19 07:08:23 UTC 2009

Modified Files:
        src/sys/arch/hpcsh/dev: psh3tp.c

Log Message:
http://mail-index.netbsd.org/source-changes/2009/04/05/msg219234.html


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/arch/hpcsh/dev/psh3tp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/hpcsh/dev/psh3tp.c
diff -u src/sys/arch/hpcsh/dev/psh3tp.c:1.12 src/sys/arch/hpcsh/dev/psh3tp.c:1.13
--- src/sys/arch/hpcsh/dev/psh3tp.c:1.12	Mon Mar 31 15:49:29 2008
+++ src/sys/arch/hpcsh/dev/psh3tp.c	Sat Dec 19 07:08:23 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: psh3tp.c,v 1.12 2008/03/31 15:49:29 kiyohara Exp $	*/
+/*	$NetBSD: psh3tp.c,v 1.13 2009/12/19 07:08:23 kiyohara Exp $	*/
 /*
  * Copyright (c) 2005 KIYOHARA Takashi
  * All rights reserved.
@@ -198,6 +198,9 @@
 	intc_intr_establish(SH7709_INTEVT2_IRQ2,
 	    IST_EDGE, IPL_TTY, psh3tp_intr, sc);
 	intc_intr_disable(SH7709_INTEVT2_IRQ2);
+
+ 	if (!pmf_device_register(self, NULL, NULL))
+ 		aprint_error_dev(self, "unable to establish power handler\n");
 }
 
 

Reply via email to