Skip to contentSkip to conversation

smiapp compile fix for non-OF configuration

GIT FIXES FOR v3.19 Sakari Ailus 2 participants 3 messages Jan 27, 2015 – Feb 3, 2015 Media (V4L/DVB)

lore
Share & tools
lore
#0 lore raw

Hi Mauro,

The recent smiapp OF support patches contained a small issue related to reading 64-bit numbers from the device tree, such that the compilation fails if CONFIG_OF is undefined.

This patch provides a temporary fix to the matter. The proper one is to use of_property_read_u64_array(), but that's currently not exported. I've submitted a patch for that.

Please pull.

The following changes since commit e32b31ae45c18679c186e67aa41d0e2318cae487:

[media] mb86a20s: remove unused debug modprobe parameter (2015-01-26 10:08:29 -0200)

are available in the git repository at:

ssh://linuxtv.org/git/sailus/media_tree.git smiapp-of-compile

for you to fetch changes up to 45fe24236dd638b170a7ca91a3aa0e9b2b153889:

smiapp: Don't compile of_read_number() if CONFIG_OF isn't defined (2015-01-27 12:18:49 +0200)

----------------------------------------------------------------
Sakari Ailus (1):
smiapp: Don't compile of_read_number() if CONFIG_OF isn't defined

 drivers/media/i2c/smiapp/smiapp-core.c |    4 ++++
 1 file changed, 4 insertions(+)
Signature · 4 lines
Kind regards,

Sakari Ailus
e-mail: [email protected]	XMPP: [email protected]
#1 lore raw

Em Tue, 27 Jan 2015 12:36:49 +0200
Sakari Ailus <[email protected]> escreveu:

Quoted 9 lines

Hi Mauro,

The recent smiapp OF support patches contained a small issue related to reading 64-bit numbers from the device tree, such that the compilation fails if CONFIG_OF is undefined.

This patch provides a temporary fix to the matter. The proper one is to use of_property_read_u64_array(), but that's currently not exported. I've submitted a patch for that.

Didn't apply at fixes, so I applied it at the master development branch.

If this is really needed for 3.19, please backport against 3.19-rc6.

Regards,
Mauro

Quoted 23 lines

Please pull.

The following changes since commit e32b31ae45c18679c186e67aa41d0e2318cae487:

[media] mb86a20s: remove unused debug modprobe parameter (2015-01-26 10:08:29 -0200)

are available in the git repository at:

ssh://linuxtv.org/git/sailus/media_tree.git smiapp-of-compile

for you to fetch changes up to 45fe24236dd638b170a7ca91a3aa0e9b2b153889:

smiapp: Don't compile of_read_number() if CONFIG_OF isn't defined (2015-01-27 12:18:49 +0200)

----------------------------------------------------------------
Sakari Ailus (1):
smiapp: Don't compile of_read_number() if CONFIG_OF isn't defined

 drivers/media/i2c/smiapp/smiapp-core.c |    4 ++++
 1 file changed, 4 insertions(+)
#2 lore raw

Hi Mauro,

Quoted 9 lines · Mauro Carvalho Chehab

Em Tue, 27 Jan 2015 12:36:49 +0200
Sakari Ailus <[email protected]> escreveu:

Quoted 6 lines

Hi Mauro,

The recent smiapp OF support patches contained a small issue related to reading 64-bit numbers from the device tree, such that the compilation fails if CONFIG_OF is undefined.

Quoted 7 lines
Quoted 3 lines

This patch provides a temporary fix to the matter. The proper one is to use of_property_read_u64_array(), but that's currently not exported. I've submitted a patch for that.

Didn't apply at fixes, so I applied it at the master development branch.

If this is really needed for 3.19, please backport against 3.19-rc6.

Indeed; the master branch is where it belongs to. Thanks!

v3.19 will not have OF support yet so it's fine.

Signature · 4 lines
Kind regards,

Sakari Ailus
e-mail: [email protected]	XMPP: [email protected]