On 05/21/15 11:28, Arend van Spriel wrote:
On 05/21/15 10:28, Rafał Miłecki wrote:
On 20 May 2015 at 16:33, Rafał Miłecki<zajec5@xxxxxxxxx> wrote:
I think the best way for achieving this is to rework your patch to
modify include/linux/bcm47xx_nvram.h. You could modify it the same way
you did in your patch for MIPS tree, except for
bcm47xx_nvram_get_contents. Don't implement this function for real (in
.c file), but instead make in dummy inline in a bcm47xx_nvram.h like:
static inline char *bcm47xx_nvram_get_contents(size_t *val_len)
{
/* TODO: Implement in .c file */
return NULL;
}
One more note.
This of course will lead to conflict at some point, but I believe
Linus will handle it.
I prefer to avoid tricks so I will ask to drop this patch and wait for
it to land in the next kernel, ie. 4.2, and resubmit this patch for 4.3.
I am not in a hurry.
The 'it' in 'wait for it to land' being the mips patch providing the new
api function. I will submit a v2 for that one.
Regards,
Arend
Regards,
Arend