title: How to make my device driver load on system start-up?
body: <p>My hello world device:</p>
  
  <pre><code>#include &lt;linux/init.h&gt;
  #include &lt;linux/module.h&gt;
  MODULE_LICENSE("Dual BSD/GPL");
  
  static int hello_init(void) {
      printk(KERN_ALERT "hello world\n");
      return 0;
  }
  
  static void hello_exit(void) {
      printk(KERN_ALERT "goodbye world\n");
  }
  
  module_init(hello_init);
  module_exit(hello_exit);
  </code></pre>
  
  <p>How can I make my driver to load automatically during start-up?</p>
  
  <p>I can load it manually successfully using <code>insmod</code>, but I want it to be automatically loaded after a reboot. Do I need to use <code>Kbuild</code> and select it in <code>make menuconfig</code>, or do we do that some other way?</p>