mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
[PATCH] turn "const static" into "static const"
ICC likes to complain about storage class not being first, GCC doesn't care much (except for cases like "inline static"). have a hard time seeing how it could break anything. Thanks to Gabriel A. Devenyi for pointing out http://linuxicc.sourceforge.net/ which is what made me create this patch. Signed-off-by: Jesper Juhl <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
e7c368b767
commit
3c6bee1d40
16 changed files with 25 additions and 25 deletions
|
|
@ -43,7 +43,7 @@ static int nand_width = 1; /* default x8*/
|
|||
/*
|
||||
* Define partitions for flash device
|
||||
*/
|
||||
const static struct mtd_partition partition_info[] = {
|
||||
static const struct mtd_partition partition_info[] = {
|
||||
{
|
||||
.name = "NAND FS 0",
|
||||
.offset = 0,
|
||||
|
|
|
|||
|
|
@ -96,7 +96,7 @@ static struct mtd_info *rtc_from4_mtd = NULL;
|
|||
*/
|
||||
static void __iomem *rtc_from4_fio_base = (void *)P2SEGADDR(RTC_FROM4_FIO_BASE);
|
||||
|
||||
const static struct mtd_partition partition_info[] = {
|
||||
static const struct mtd_partition partition_info[] = {
|
||||
{
|
||||
.name = "Renesas flash partition 1",
|
||||
.offset = 0,
|
||||
|
|
|
|||
|
|
@ -67,7 +67,7 @@ module_param(spia_peddr, int, 0);
|
|||
/*
|
||||
* Define partitions for flash device
|
||||
*/
|
||||
const static struct mtd_partition partition_info[] = {
|
||||
static const struct mtd_partition partition_info[] = {
|
||||
{
|
||||
.name = "SPIA flash partition 1",
|
||||
.offset = 0,
|
||||
|
|
|
|||
Loading…
Reference in a new issue