mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
[PATCH] Unlinline a bunch of other functions
Remove the "inline" keyword from a bunch of big functions in the kernel with the goal of shrinking it by 30kb to 40kb Signed-off-by: Arjan van de Ven <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Acked-by: Jeff Garzik <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
b0a9499c3d
commit
858119e159
74 changed files with 226 additions and 227 deletions
|
|
@ -138,7 +138,7 @@ static inline int DoC_WaitReady(struct DiskOnChip *doc)
|
|||
bypass the internal pipeline. Each of 4 delay cycles (read from the NOP register) is
|
||||
required after writing to CDSN Control register, see Software Requirement 11.4 item 3. */
|
||||
|
||||
static inline int DoC_Command(struct DiskOnChip *doc, unsigned char command,
|
||||
static int DoC_Command(struct DiskOnChip *doc, unsigned char command,
|
||||
unsigned char xtraflags)
|
||||
{
|
||||
void __iomem *docptr = doc->virtadr;
|
||||
|
|
|
|||
|
|
@ -103,7 +103,7 @@ static inline int DoC_WaitReady(void __iomem * docptr)
|
|||
with the internal pipeline. Each of 4 delay cycles (read from the NOP register) is
|
||||
required after writing to CDSN Control register, see Software Requirement 11.4 item 3. */
|
||||
|
||||
static inline void DoC_Command(void __iomem * docptr, unsigned char command,
|
||||
static void DoC_Command(void __iomem * docptr, unsigned char command,
|
||||
unsigned char xtraflags)
|
||||
{
|
||||
/* Assert the CLE (Command Latch Enable) line to the flash chip */
|
||||
|
|
|
|||
|
|
@ -118,7 +118,7 @@ static inline void DoC_CheckASIC(void __iomem * docptr)
|
|||
/* DoC_Command: Send a flash command to the flash chip through the Flash
|
||||
* command register. Need 2 Write Pipeline Terminates to complete send.
|
||||
*/
|
||||
static inline void DoC_Command(void __iomem * docptr, unsigned char command,
|
||||
static void DoC_Command(void __iomem * docptr, unsigned char command,
|
||||
unsigned char xtraflags)
|
||||
{
|
||||
WriteDOC(command, docptr, Mplus_FlashCmd);
|
||||
|
|
|
|||
|
|
@ -1506,7 +1506,7 @@ static inline int __init doc2001plus_init(struct mtd_info *mtd)
|
|||
return 1;
|
||||
}
|
||||
|
||||
static inline int __init doc_probe(unsigned long physadr)
|
||||
static int __init doc_probe(unsigned long physadr)
|
||||
{
|
||||
unsigned char ChipID;
|
||||
struct mtd_info *mtd;
|
||||
|
|
|
|||
Loading…
Reference in a new issue