1. Nov 20, 2012
  2. Nov 14, 2012
  3. Nov 12, 2012
    • Geert Uytterhoeven's avatar
      mfd: Remove Unicode Byte Order Marks from da9055 · 90a38d99
      Geert Uytterhoeven authored
      
      
      Older gcc (< 4.4) doesn't like files starting with Unicode BOMs:
      
      include/linux/mfd/da9055/core.h:1: error: stray ‘\357’ in program
      include/linux/mfd/da9055/core.h:1: error: stray ‘\273’ in program
      include/linux/mfd/da9055/core.h:1: error: stray ‘\277’ in program
      include/linux/mfd/da9055/pdata.h:1: error: stray ‘\357’ in program
      include/linux/mfd/da9055/pdata.h:1: error: stray ‘\273’ in program
      include/linux/mfd/da9055/pdata.h:1: error: stray ‘\277’ in program
      include/linux/mfd/da9055/reg.h:1: error: stray ‘\357’ in program
      include/linux/mfd/da9055/reg.h:1: error: stray ‘\273’ in program
      include/linux/mfd/da9055/reg.h:1: error: stray ‘\277’ in program
      
      Remove the BOMs, the rest of the files is plain ASCII anyway.
      
      Output of "file" before:
      
      include/linux/mfd/da9055/core.h:  UTF-8 Unicode (with BOM) C program text
      include/linux/mfd/da9055/pdata.h: UTF-8 Unicode (with BOM) C program text
      include/linux/mfd/da9055/reg.h:   UTF-8 Unicode (with BOM) C program text
      
      Output of "file" after:
      
      include/linux/mfd/da9055/core.h:  ASCII C program text
      include/linux/mfd/da9055/pdata.h: ASCII C program text
      include/linux/mfd/da9055/reg.h:   ASCII C program text
      
      Signed-off-by: default avatarGeert Uytterhoeven <geert@linux-m68k.org>
      Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
      90a38d99