Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

mfd: Remove Unicode Byte Order Marks from da9055

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: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>

authored by

Geert Uytterhoeven and committed by
Samuel Ortiz
90a38d99 b851c06c

+3 -3
+1 -1
include/linux/mfd/da9055/core.h
··· 1 - /* 1 + /* 2 2 * da9055 declarations for DA9055 PMICs. 3 3 * 4 4 * Copyright(c) 2012 Dialog Semiconductor Ltd.
+1 -1
include/linux/mfd/da9055/pdata.h
··· 1 - /* Copyright (C) 2012 Dialog Semiconductor Ltd. 1 + /* Copyright (C) 2012 Dialog Semiconductor Ltd. 2 2 * 3 3 * This program is free software; you can redistribute it and/or modify 4 4 * it under the terms of the GNU General Public License as published by
+1 -1
include/linux/mfd/da9055/reg.h
··· 1 - /* 1 + /* 2 2 * DA9055 declarations for DA9055 PMICs. 3 3 * 4 4 * Copyright(c) 2012 Dialog Semiconductor Ltd.