summaryrefslogtreecommitdiffstats
path: root/sst49lfxxxc.c
diff options
context:
space:
mode:
Diffstat (limited to 'sst49lfxxxc.c')
-rw-r--r--sst49lfxxxc.c13
1 files changed, 5 insertions, 8 deletions
diff --git a/sst49lfxxxc.c b/sst49lfxxxc.c
index 896564f..d9dcd9b 100644
--- a/sst49lfxxxc.c
+++ b/sst49lfxxxc.c
@@ -38,8 +38,8 @@
#define STATUS_ESS (1 << 6)
#define STATUS_WSMS (1 << 7)
-static __inline__ int write_lockbits_49lfxxxc(chipaddr bios, int size,
- unsigned char bits)
+static int write_lockbits_49lfxxxc(chipaddr bios, int size,
+ unsigned char bits)
{
int i, left = size;
unsigned long address;
@@ -65,8 +65,7 @@ static __inline__ int write_lockbits_49lfxxxc(chipaddr bios, int size,
return 0;
}
-static __inline__ int erase_sector_49lfxxxc(chipaddr bios,
- unsigned long address)
+static int erase_sector_49lfxxxc(chipaddr bios, unsigned long address)
{
unsigned char status;
@@ -85,10 +84,8 @@ static __inline__ int erase_sector_49lfxxxc(chipaddr bios,
return 0;
}
-static __inline__ int write_sector_49lfxxxc(chipaddr bios,
- uint8_t *src,
- chipaddr dst,
- unsigned int page_size)
+static int write_sector_49lfxxxc(chipaddr bios, uint8_t *src, chipaddr dst,
+ unsigned int page_size)
{
int i;
unsigned char status;
OpenPOWER on IntegriCloud