Skip to content

Commit

Permalink
pcmcia/at91_cf: don't redefine SZ_2K
Browse files Browse the repository at this point in the history
This fixes:

	drivers/pcmcia/at91_cf.c:55:1: warning: "SZ_2K" redefined

Since

	c1191b0 ([ARM] Kirkwood: create a mapping for the Security Accelerator SRAM)

SZ_2K is defined in arch/arm/include/asm/sizes.h.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Andrew Victor <linux@maxim.org.za>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
  • Loading branch information
Uwe Kleine-König authored and Dominik Brodowski committed Feb 17, 2010
1 parent 4aa50bc commit 7432a5b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions drivers/pcmcia/at91_cf.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,6 @@ struct at91_cf_socket {
unsigned long phys_baseaddr;
};

#define SZ_2K (2 * SZ_1K)

static inline int at91_cf_present(struct at91_cf_socket *cf)
{
return !gpio_get_value(cf->board->det_pin);
Expand Down

0 comments on commit 7432a5b

Please sign in to comment.