From 3c9abdc65a5b9683c4ec1e1674346bb17ca52d35 Mon Sep 17 00:00:00 2001 From: Werner Almesberger Date: Thu, 21 Oct 2010 18:26:43 -0300 Subject: [PATCH] Renamed gpio.* to gpio-s3c24xx.* - f32x/Makefile (OBJS_om): rename gpio.o to gpio-s3c24xx.o - f32x/gpio-s3c24xx.h, f32x/gpio-s3c24xx.c, f32x/c2-om.c: renamed gpio.* to gpio-s3c24xx.* to --- f32x/Makefile | 2 +- f32x/c2-om.c | 2 +- f32x/{gpio.c => gpio-s3c24xx.c} | 2 +- f32x/{gpio.h => gpio-s3c24xx.h} | 8 ++++---- 4 files changed, 7 insertions(+), 7 deletions(-) rename f32x/{gpio.c => gpio-s3c24xx.c} (90%) rename f32x/{gpio.h => gpio-s3c24xx.h} (88%) diff --git a/f32x/Makefile b/f32x/Makefile index f19bb4e..2bf2c79 100644 --- a/f32x/Makefile +++ b/f32x/Makefile @@ -23,7 +23,7 @@ CFLAGS_om = -O -DDRIVER=c2_om LDFLAGS_om = -OBJS_om = c2-om.o gpio.o rt.o +OBJS_om = c2-om.o gpio-s3c24xx.o rt.o NAME = f32x CC = $(CC_$(TARGET)) diff --git a/f32x/c2-om.c b/f32x/c2-om.c index 3ff3f4f..0b359b4 100644 --- a/f32x/c2-om.c +++ b/f32x/c2-om.c @@ -14,7 +14,7 @@ #include #include -#include "gpio.h" +#include "gpio-s3c24xx.h" #include "c2-drv.h" diff --git a/f32x/gpio.c b/f32x/gpio-s3c24xx.c similarity index 90% rename from f32x/gpio.c rename to f32x/gpio-s3c24xx.c index 1648d84..d4b25b9 100644 --- a/f32x/gpio.c +++ b/f32x/gpio-s3c24xx.c @@ -1,5 +1,5 @@ /* - * f32x/gpio.c - Really primitive S3C244x GPIO access. Ports B-H only. + * f32x/gpio-s3c24xx.c - Really primitive S3C244x GPIO access. Ports B-H only. * * Written 2008 by Werner Almesberger * Copyright 2008 Werner Almesberger diff --git a/f32x/gpio.h b/f32x/gpio-s3c24xx.h similarity index 88% rename from f32x/gpio.h rename to f32x/gpio-s3c24xx.h index a1465a7..d537352 100644 --- a/f32x/gpio.h +++ b/f32x/gpio-s3c24xx.h @@ -1,5 +1,5 @@ /* - * f32x/gpio.h - Really primitive S3C244x GPIO access. Ports B-H only. + * f32x/gpio-s3c24xx.h - Really primitive S3C244x GPIO access. Ports B-H only. * * Written 2008 by Werner Almesberger * Copyright 2008 Werner Almesberger @@ -15,8 +15,8 @@ */ -#ifndef GPIO_H -#define GPIO_H +#ifndef GPIO_S3C24XX_H +#define GPIO_S3C24XX_H #include @@ -71,4 +71,4 @@ static inline void gpio_input(unsigned port, unsigned bit) void gpio_init(void); -#endif /* !GPIO_H */ +#endif /* !GPIO_S3C24XX_H */