1. 26 Mar, 2006 1 commit
    • Andrew Morton's avatar
      [PATCH] tlclk: fix handling of device major · 222b9f93
      Andrew Morton authored
      
      tlclk calls register_chrdev() and permits register_chrdev() to allocate the
      major, but it promptly forgets what that major was.  So if there's no hardware
      present you still get "telco_clock" appearing in /proc/devices and, I assume,
      an oops reading /proc/devices if tlclk was a module.
      
      Fix.
      
      Mark, I'd suggest that that we not call register_chrdev() until _after_ we've
      established that the hardware is present.
      
      Cc: Mark Gross <mgross@linux.intel.com>
      Cc: <stable@kernel.org>
      Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
      222b9f93
  2. 18 Jan, 2006 1 commit
  3. 11 Jan, 2006 1 commit
  4. 02 Nov, 2005 1 commit
  5. 30 Oct, 2005 1 commit