title: How to change MTD device serial number?
body: <p>I have embedded system with some MTD devices and added one more MTD device (SPI flash). This new device now is mtd0 and number for all previous MTD devices are +1. How can I assign MTD device number for this new driver to keep numbers of previous MTD devices unchanged ?</p>
  
  <p>Before:</p>
  
  <pre><code># cat /proc/mtd 
  dev:    size   erasesize  name
  mtd0: 00100000 00020000 "u-boot"
  ...
  </code></pre>
  
  <p>After:</p>
  
  <pre><code># cat /proc/mtd 
  dev:    size   erasesize  name
  mtd0: 00100000 00001000 "spi-nor-flash"
  mtd1: 00100000 00020000 "u-boot"
  ...
  </code></pre>
  
  <p>I want to achieve:</p>
  
  <pre><code># cat /proc/mtd 
  dev:    size   erasesize  name
  mtd0: 00100000 00020000 "u-boot"
  ...
  mtd5: 00100000 00001000 "spi-nor-flash"
  </code></pre>