Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 11th, 2012  |  syntax: None  |  size: 0.21 KB  |  hits: 20  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. How to create a device in /dev automatically upon loading of the kernel module for a device driver?
  2. struct file_operations fops{  
  3. .open=open_fun,  
  4. .release=release_fun,  
  5. .write=write_fun,  
  6. .read=read_fun,  
  7. };