提交 7432a5b6 编写于 作者: U Uwe Kleine-König 提交者: Dominik Brodowski

pcmcia/at91_cf: don't redefine SZ_2K

This fixes:

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

Since

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

SZ_2K is defined in arch/arm/include/asm/sizes.h.
Signed-off-by: NUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: NAndrew Victor <linux@maxim.org.za>
Signed-off-by: NDominik Brodowski <linux@dominikbrodowski.net>
上级 4aa50bc9
...@@ -52,8 +52,6 @@ struct at91_cf_socket { ...@@ -52,8 +52,6 @@ struct at91_cf_socket {
unsigned long phys_baseaddr; unsigned long phys_baseaddr;
}; };
#define SZ_2K (2 * SZ_1K)
static inline int at91_cf_present(struct at91_cf_socket *cf) static inline int at91_cf_present(struct at91_cf_socket *cf)
{ {
return !gpio_get_value(cf->board->det_pin); return !gpio_get_value(cf->board->det_pin);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册