Re: [PATCH v4 12/12] intel_mid: Moved board related code to a newfile

From: David Cohen
Date: Wed Oct 16 2013 - 00:01:42 EST


On 10/15/2013 05:45 PM, H. Peter Anvin wrote:
On 10/15/2013 04:53 PM, David Cohen wrote:
On 10/15/2013 04:44 PM, H. Peter Anvin wrote:
On 10/15/2013 04:42 PM, David Cohen wrote:

+#define intel_mid_sfi_dev(i) \
+ static const struct devs_id *__intel_mid_sfi_##i##_dev __used \
+ __attribute__((__section__(".x86_intel_mid_dev.init"))) = &i
+

Any reason to not just call this "sfi_device()" or something similar?
"Intel MID SFI" seems a bit redundant...

I had the same though. But struct devs_id is defined by asm/intel-mid.h.
This function is not meant to be used by any other user beside
intel-mid.
But I can change if you prefer.


Hm, I guess it doesn't really matter. After all, no other devices will
probably ever see SFI (we hope).

I hope too :)
Let me send a new version with this change.

Br, David Cohen

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/